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.

Returns:
params : dict

Fitted model. Fields are:

See also

photErrModel