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
magastropy.units.Quantity

Magnitude.

mag_errastropy.units.Quantity

Magnitude uncertainty or variation.

Returns
paramsdict

Fitted model. Fields are:

See also

photErrModel