IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2006, 8:30:16 AM (21 years ago)
Author:
eugene
Message:

API cleanup, removed old test files, some re-organization, changed FLT/GAL to EXT

File:
1 edited

Legend:

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

    r5828 r5993  
    11# include "psphot.h"
    22
    3 bool psphotEvalFLT (pmSource *source, pmModel *model)
     3bool psphotEvalEXT (pmSource *source, pmModel *model)
    44{
    55    int keep;
    66
    7     // do we actually have a valid FLT model?
     7    // do we actually have a valid EXT model?
    88    if (model == NULL) {
    99        source->mode &= ~PM_SOURCE_FITTED;
     
    2222      case PM_MODEL_OFFIMAGE:
    2323      default:
    24         psLogMsg ("psphot", 5, "GAL fail fit\n");
     24        psLogMsg ("psphot", 5, "EXT fail fit\n");
    2525        source->mode |= PM_SOURCE_FAIL;
    2626        return false;
    2727    }
    2828
    29     // unless we prove otherwise, this object is a galaxy.
    30     // XXX EAM : do we need to save the old type?
    31     source->type = PM_SOURCE_GALAXY;
     29    // unless we prove otherwise, this object is extended
     30    source->type = PM_SOURCE_EXTENDED;
    3231
    33     // the following source->mode information pertains to modelPSF:
    34     source->mode |= PM_SOURCE_FLTMODEL;
     32    // the following source->mode information pertains to modelEXT:
     33    source->mode |= PM_SOURCE_EXTMODEL;
    3534
    3635    // if the object has a fitted peak below 0, the fit did not converge cleanly
     
    4443
    4544    // poor-quality fit; only keep if nothing else works...
    46     psLogMsg ("psphot", 5, "GAL poor fit\n");
     45    psLogMsg ("psphot", 5, "EXT poor fit\n");
    4746    source->mode |= PM_SOURCE_POOR;
    4847    return false;
Note: See TracChangeset for help on using the changeset viewer.