Changeset 21259 for trunk/ppStack/src/ppStackPhotometry.c
- Timestamp:
- Feb 1, 2009, 11:57:57 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackPhotometry.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackPhotometry.c
r21183 r21259 138 138 psMetadataAddImageMask (recipe, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE, "Bits to use for mark", markValue); 139 139 140 if (!psphotReadout(config, view)) { 140 // XXX replace with psphotReadoutKnownSources (config, view) 141 // XXX this function requires that we construct the input source list and place it on PSPHOT.INPUT.CMF 142 pmCell *sourcesCell = pmFPAfileThisCell(config->files, view, "PPSTACK.OUTPUT"); 143 psArray *inSources = psMetadataLookupPtr (NULL, sourcesCell->analysis, "PSPHOT.SOURCES"); 144 if (!inSources) { 145 psError(PS_ERR_UNKNOWN, false, "Unable to find input sources"); 146 return false; 147 } 148 149 if (!psphotReadoutKnownSources(config, view, inSources)) { 141 150 // Clear the error, so that the output files are written. 142 151 psWarning("Unable to perform photometry on stacked image.");
Note:
See TracChangeset
for help on using the changeset viewer.
