- Timestamp:
- Jan 27, 2010, 9:17:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.stack.20100120/src/psphotApResid.c
r26688 r26691 13 13 psAssert (recipe, "missing recipe?"); 14 14 15 int num = psMetadata AddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");15 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 16 16 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 17 17 18 18 // loop over the available readouts 19 19 for (int i = 0; i < num; i++) { 20 if (!psphot tApResidReadout (config, view, "PSPHOT.INPUT", i, recipe)) {20 if (!psphotApResidReadout (config, view, "PSPHOT.INPUT", i, recipe)) { 21 21 psError (PSPHOT_ERR_CONFIG, false, "failed on saturated star deblend analysis for PSPHOT.INPUT entry %d", i); 22 22 return false; … … 26 26 } 27 27 28 bool psphotApResid (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe)28 bool psphotApResidReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe) 29 29 { 30 30 int Nfail = 0; … … 39 39 // find the currently selected readout 40 40 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest 41 psAssert ( readout, "missing file?");41 psAssert (file, "missing file?"); 42 42 43 43 pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
Note:
See TracChangeset
for help on using the changeset viewer.
