redback.utils.flambda_err_from_mag_err

redback.utils.flambda_err_from_mag_err(flux, mag_err)[source]

Compute the error on the flux given an error on the magnitude. Using error propagation for f = A*10^(-0.4*mag):

df/dmag = -0.4 ln(10)* f => σ_f = 0.4 ln(10)* f * σ_mag.