- Timestamp:
- Dec 12, 2013, 3:10:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bills_branches/bills_201312/psModules/src/objects/pmSourceIO_CFF.c
r36375 r36389 123 123 source->type = PM_SOURCE_TYPE_STAR; // XXX this should be added to the flags 124 124 125 // XXX we can set this in general, but for a specific image, we need to weed out SATSTARS 125 // XXX we can set this in general, but for a specific image, we need to weed out SATSTARS and 126 // stars that are masked 126 127 if (psfStar) { 127 128 source->tmpFlags |= PM_SOURCE_TMPF_CANDIDATE_PSFSTAR; … … 246 247 psS32 modelType = 0; 247 248 bool fitGalaxy = false; 248 bool psfStar = false;249 bool psfStar = (source->mode & PM_SOURCE_MODE_PSFSTAR) ? true : false; 249 250 psF32 sersicIndex = 0; 250 if (source->modelFits == NULL) { 251 // For now only perform galaxy fits on extended objects 252 if (source->modelEXT == NULL) { 251 253 pmModel *model = source->modelPSF; 252 254 if (model == NULL) continue; … … 260 262 yPos = model->params->data.F32[PM_PAR_YPOS]; 261 263 flux = source->psfFlux; 262 psfStar = (source->mode & PM_SOURCE_MODE_PSFSTAR) ? true : false;263 264 rMajor = 0; 264 265 rMinor = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
