redback.utils.bandflux_error_from_limiting_mag

redback.utils.bandflux_error_from_limiting_mag(fiveSigmaDepth, bandflux_ref)[source]

Function to compute the error associated with the flux measurement of the transient source, computed based on the observation databse determined five-sigma depth.

Parameters:

fiveSigmaDepth: float

The magnitude at which an exposure would be recorded as having an SNR of 5 for this observation.

bandflux_ref: float

The total flux that would be transmitted through the chosen bandfilter given the chosen reference system.

Returns:

bandflux_error: float

The error associated with the computed bandflux.