Changeset 21251
- Timestamp:
- Feb 1, 2009, 11:49:16 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotMergeSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotMergeSources.c
r21176 r21251 56 56 } 57 57 58 pmDetections *psphotLoadPSFSources (pmConfig *config, const pmFPAview *view) { 58 // extract the input sources corresponding to this readout 59 psArray *psphotLoadPSFSources (pmConfig *config, const pmFPAview *view) { 59 60 60 61 // find the currently selected readout … … 65 66 } 66 67 67 pmDetections *detections = pmDetectionsAlloc();68 69 68 psArray *sources = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.SOURCES"); 70 69 if (!sources) { 71 70 psLogMsg ("psphot", 3, "no psf sources for this readout"); 72 return detections;73 71 } 72 73 return sources; 74 } 75 76 // generate the detection structure for the supplied array of sources 77 pmDetections *psphotDetectionsFromSources (pmConfig *config, psArray *sources) { 78 79 pmDetections *detections = pmDetectionsAlloc(); 74 80 75 81 detections->peaks = psArrayAllocEmpty(100);
Note:
See TracChangeset
for help on using the changeset viewer.
