IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2006, 4:31:17 PM (20 years ago)
Author:
eugene
Message:

substantial work on the pmFPAfile,view concepts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotEvalFLT.c

    r5993 r6715  
    77    // do we actually have a valid EXT model?
    88    if (model == NULL) {
    9         source->mode &= ~PM_SOURCE_FITTED;
     9        source->mode &= ~PM_SOURCE_MODE_FITTED;
    1010        return false;
    1111    }
     
    1616        break;
    1717      case PM_MODEL_UNTRIED:
    18         source->mode &= ~PM_SOURCE_FITTED;
     18        source->mode &= ~PM_SOURCE_MODE_FITTED;
    1919        return false;
    2020      case PM_MODEL_BADARGS:
     
    2323      default:
    2424        psLogMsg ("psphot", 5, "EXT fail fit\n");
    25         source->mode |= PM_SOURCE_FAIL;
     25        source->mode |= PM_SOURCE_MODE_FAIL;
    2626        return false;
    2727    }
    2828
    2929    // unless we prove otherwise, this object is extended
    30     source->type = PM_SOURCE_EXTENDED;
     30    source->type = PM_SOURCE_TYPE_EXTENDED;
    3131
    3232    // the following source->mode information pertains to modelEXT:
    33     source->mode |= PM_SOURCE_EXTMODEL;
     33    source->mode |= PM_SOURCE_MODE_EXTMODEL;
    3434
    3535    // if the object has a fitted peak below 0, the fit did not converge cleanly
    3636    if (model->params->data.F32[1] <= 0) {
    37         source->mode |= PM_SOURCE_FAIL;
     37        source->mode |= PM_SOURCE_MODE_FAIL;
    3838        return false;
    3939    }
     
    4444    // poor-quality fit; only keep if nothing else works...
    4545    psLogMsg ("psphot", 5, "EXT poor fit\n");
    46     source->mode |= PM_SOURCE_POOR;
     46    source->mode |= PM_SOURCE_MODE_POOR;
    4747    return false;
    4848}       
Note: See TracChangeset for help on using the changeset viewer.