validate_totalflux

synphot.utils.validate_totalflux(totalflux)[source]

Check integrated flux for invalid values.

Parameters
totalfluxfloat

Integrated flux.

Raises
synphot.exceptions.SynphotError

Input is zero, negative, or not a number.