IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21501


Ignore:
Timestamp:
Feb 16, 2009, 11:23:04 AM (17 years ago)
Author:
eugene
Message:

keep chisq, Npix, Ndof from prior non-linear fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20090208/psphot/src/psphotFitSourcesLinear.c

    r21490 r21501  
    216216
    217217    // measure chisq for each source
    218     // XXX this overrides the chisq measured in a prior non-linear fit.  Keep those instead?
    219218    for (int i = 0; final && (i < fitSources->n); i++) {
    220219        pmSource *source = fitSources->data[i];
     220        if (source->mode & PM_SOURCE_MODE_NONLINEAR_FIT) continue;
    221221        pmModel *model = pmSourceGetModel (NULL, source);
    222222        pmSourceChisq (model, source->pixels, source->maskObj, source->variance, maskVal);
Note: See TracChangeset for help on using the changeset viewer.