fitPhotErrModel¶
- lsst.validate.drp.photerrmodel.fitPhotErrModel(mag, mag_err)¶
Fit photometric error model from the LSST Overview paper:
http://arxiv.org/abs/0805.2366v4
The fit is performed with
scipy.optimize.curvefit.- Parameters:
- mag
astropy.units.Quantity Magnitude.
- mag_err
astropy.units.Quantity Magnitude uncertainty or variation.
- mag
- Returns:
- params
dict Fitted model. Fields are:
sigmaSys: systematic error (magnitude,astropy.units.Quantity).gamma: Proxy for sky brightness and readout noise (dimensionless,astropy.units.Quantity).m5: 5-sigma limiting depth (magnitude,astropy.units.Quantity).
- params
See also