Changeset 39818 for trunk/psphot/src/psphotFitSourcesLinear.c
- Timestamp:
- Nov 17, 2016, 9:54:33 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFitSourcesLinear.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFitSourcesLinear.c
r38514 r39818 193 193 MAX_VALID_FLUX = 1e+8; 194 194 } 195 196 float cutModelSum = psMetadataLookupF32(&status, recipe, "PSF_FIT_MODEL_SUM_FRAC_CUT"); 197 float cutMaskedSum = psMetadataLookupF32(&status, recipe, "PSF_FIT_MASKED_SUM_FRAC_CUT"); 195 198 196 199 // XXX test: choose a larger-than expected radius: … … 278 281 279 282 // printf("%5d %4.3f %4.3f %4.3f\n", source->seq, normFlux, modelSum, maskedSum); 280 float cut = .85; 281 if (modelSum < cut * normFlux) continue; 282 if (maskedSum < cut * normFlux) continue; 283 //float cut = .85; 284 //if (modelSum < cut * normFlux) continue; 285 //if (maskedSum < cut * normFlux) continue; 286 if (modelSum < cutModelSum * normFlux) continue; 287 if (maskedSum < cutMaskedSum * normFlux) continue; 283 288 284 289 // clear the 'mark' pixels and remask on the fit aperture
Note:
See TracChangeset
for help on using the changeset viewer.
