- Timestamp:
- Apr 26, 2011, 5:54:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110404/psphot/src/psphotGuessModels.c
r31154 r31384 160 160 pmSource *source = sources->data[i]; 161 161 162 if (source->mode & PM_SOURCE_MODE_MOMENTS_FAILURE) {163 fprintf (stderr, "moment failure\n");164 }165 166 162 // this is used to mark sources for which the model is measured. We check later that 167 163 // all are used. … … 169 165 170 166 // skip non-astronomical objects (very likely defects) 167 if (source->mode & PM_SOURCE_MODE_MOMENTS_FAILURE) continue; 171 168 if (source->type == PM_SOURCE_TYPE_DEFECT) continue; 172 169 if (source->type == PM_SOURCE_TYPE_SATURATED) continue; … … 196 193 } 197 194 195 # if (0) 198 196 if (source->mode & PM_SOURCE_MODE_SATSTAR) { 199 197 fprintf (stderr, "satstar: %f,%f vs %f,%f : %c\n", … … 202 200 (useMoments ? 'T' : 'F')); 203 201 } 202 # endif 204 203 205 204 // set PSF parameters for this model (apply 2D shape model to coordinates Xo, Yo)
Note:
See TracChangeset
for help on using the changeset viewer.
