broker_utils.math

The math module contains mathematical transforms for survey data.

broker.broker_utils.broker_utils.math.jd_to_mjd(jd)[source]

Convert Julian Date to modified Julian Date.

Return type

float

broker.broker_utils.broker_utils.math.mag_to_flux(mag, zeropoint, magerr)[source]

Convert an AB magnitude and its error to fluxes.

Return type

Tuple[float, float]