IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2013, 1:34:15 PM (13 years ago)
Author:
eugene
Message:

add flags, new model status bits, new source mode2 bits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psModules/src/objects/pmSourceFitModel.c

    r36320 r36326  
    282282    // set the model success or failure status
    283283    model->flags |= PM_MODEL_STATUS_FITTED;
    284     if (!fitStatus) model->flags |= PM_MODEL_STATUS_NONCONVERGE;
     284    if (!fitStatus) {
     285        if (isnan(myMin->value)) {
     286          model->flags |= PM_MODEL_STATUS_NAN_CHISQ;
     287        } else {
     288          model->flags |= PM_MODEL_STATUS_NONCONVERGE;
     289        }
     290    }
    285291
    286292    if (myMin->chisqConvergence) {
Note: See TracChangeset for help on using the changeset viewer.