IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 3, 2012, 4:24:24 PM (14 years ago)
Author:
eugene
Message:

fixes for ppMops errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourcePhotometry.c

    r34403 r34498  
    165165            status = pmSourcePhotometryModel (&model->mag, NULL, model);
    166166            if (model == source->modelEXT) foundEXT = true;
     167            float SN = fabs(model->params->data.F32[PM_PAR_I0] / model->dparams->data.F32[PM_PAR_I0]);
     168            model->magErr = 1.0 / SN;
    167169        }
    168170        if (foundEXT) {
Note: See TracChangeset for help on using the changeset viewer.