Changeset 5993 for trunk/psphot/src/psphotEvalFLT.c
- Timestamp:
- Jan 15, 2006, 8:30:16 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotEvalFLT.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotEvalFLT.c
r5828 r5993 1 1 # include "psphot.h" 2 2 3 bool psphotEval FLT (pmSource *source, pmModel *model)3 bool psphotEvalEXT (pmSource *source, pmModel *model) 4 4 { 5 5 int keep; 6 6 7 // do we actually have a valid FLT model?7 // do we actually have a valid EXT model? 8 8 if (model == NULL) { 9 9 source->mode &= ~PM_SOURCE_FITTED; … … 22 22 case PM_MODEL_OFFIMAGE: 23 23 default: 24 psLogMsg ("psphot", 5, " GALfail fit\n");24 psLogMsg ("psphot", 5, "EXT fail fit\n"); 25 25 source->mode |= PM_SOURCE_FAIL; 26 26 return false; 27 27 } 28 28 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; 32 31 33 // the following source->mode information pertains to model PSF:34 source->mode |= PM_SOURCE_ FLTMODEL;32 // the following source->mode information pertains to modelEXT: 33 source->mode |= PM_SOURCE_EXTMODEL; 35 34 36 35 // if the object has a fitted peak below 0, the fit did not converge cleanly … … 44 43 45 44 // poor-quality fit; only keep if nothing else works... 46 psLogMsg ("psphot", 5, " GALpoor fit\n");45 psLogMsg ("psphot", 5, "EXT poor fit\n"); 47 46 source->mode |= PM_SOURCE_POOR; 48 47 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
