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/pmSourceFitPCM.c

    r36320 r36326  
    122122    // set the model success or failure status
    123123    pcm->modelConv->flags |= PM_MODEL_STATUS_FITTED;
    124     if (!fitStatus) pcm->modelConv->flags |= PM_MODEL_STATUS_NONCONVERGE;
     124
     125    if (!fitStatus) {
     126        if (isnan(myMin->value)) {
     127            pcm->modelConv->flags |= PM_MODEL_STATUS_NAN_CHISQ;
     128        } else {
     129            pcm->modelConv->flags |= PM_MODEL_STATUS_NONCONVERGE;
     130        }
     131    }
    125132
    126133    if (myMin->chisqConvergence) {
Note: See TracChangeset for help on using the changeset viewer.