- 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/psphotDeblendSatstars.c
r26688 r26691 6 6 bool status = true; 7 7 8 int num = psMetadata AddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");8 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 9 9 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 10 10 … … 19 19 } 20 20 21 bool psphotDeblendSatstarsReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index) {21 bool psphotDeblendSatstarsReadout (pmConfig *config, const pmFPAview *view, const char *filename, int fileIndex) { 22 22 23 23 int N; 24 24 pmSource *source; 25 bool status; 25 26 26 27 psTimerStart ("psphot.deblend.sat"); … … 30 31 31 32 // find the currently selected readout 32 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest33 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, fileIndex); // File of interest 33 34 psAssert (file, "missing file?"); 34 35 … … 51 52 psAssert (recipe, "missing recipe?"); 52 53 53 bool status;54 54 pmCell *cell = readout->parent; 55 55 float SATURATION = 0.75*psMetadataLookupF32 (&status, cell->concepts, "CELL.SATURATION");
Note:
See TracChangeset
for help on using the changeset viewer.
