OldMoffatModel (model='MOFFAT1'): the old model with a fixed beta [DEPRECATED].
MoffatModel2 (model=2): a circular MOFFAT with polynomials for beta and FWHM.
shouldn't the sdetect.py/add_PSF method have
{
if (fsfmodel.model != "ModelMoffat2") and (fsfmodel.model != 2):
raise ValueError('This method is coded only for FSFMODE=2')
}
instead of
{
if (fsfmodel.model != "MOFFAT1") and (fsfmodel.model != 2):
raise ValueError('This method is coded only for FSFMODE=2')
}
For the version (3.6dev), the documentation says
shouldn't the sdetect.py/add_PSF method have { if (fsfmodel.model != "ModelMoffat2") and (fsfmodel.model != 2): raise ValueError('This method is coded only for FSFMODE=2') } instead of { if (fsfmodel.model != "MOFFAT1") and (fsfmodel.model != 2): raise ValueError('This method is coded only for FSFMODE=2') }