Changeset 27698 for trunk/ppSub/src/ppSubMakePSF.c
- Timestamp:
- Apr 15, 2010, 2:53:10 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubMakePSF.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubMakePSF.c
r26982 r27698 84 84 // Here, we assume the image is background-subtracted 85 85 pmDetections *detections = psMetadataLookupPtr(&mdok, minuend->analysis, "PSPHOT.DETECTIONS"); 86 psAssert(detections, "missing detections?"); 86 if (!detections || !detections->allSources) { 87 psError(PPSUB_ERR_CONFIG, true, "No sources from which to determine PSF."); 88 return false; 89 } 87 90 psArray *sources = detections->allSources; 88 psAssert(sources, "missing sources?");89 91 90 92 // XXX filter sources? limit the total number and return only brighter objects?
Note:
See TracChangeset
for help on using the changeset viewer.
