Changeset 29936 for trunk/psphot/src/psphotStackChisqImage.c
- Timestamp:
- Dec 5, 2010, 9:42:25 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotStackChisqImage.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20101103/psphot (added) merged: 29660,29824-29825,29904,29914,29918,29920
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotStackChisqImage.c
r28013 r29936 8 8 bool psphotStackChisqImage (pmConfig *config, const pmFPAview *view, const char *ruleDet, const char *ruleCnv) 9 9 { 10 bool status = false;11 12 10 psTimerStart ("psphot.chisq.image"); 13 11 … … 17 15 pmReadout *chiReadout = NULL; 18 16 19 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 20 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 17 int num = psphotFileruleCount(config, "PSPHOT.INPUT"); 21 18 22 19 // loop over the available readouts … … 28 25 } 29 26 } 30 31 num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");32 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM");33 27 34 28 psMetadataAddS32(config->arguments, PS_LIST_TAIL, "PSPHOT.CHISQ.NUM", PS_META_REPLACE, "", num); … … 125 119 psAssert (status, "programming error: must define PSPHOT.CHISQ.NUM"); 126 120 127 int inputNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 128 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 121 int inputNum = psphotFileruleCount(config, "PSPHOT.INPUT"); 129 122 130 123 pmFPAfileRemoveSingle (config->files, filerule, chisqNum);
Note:
See TracChangeset
for help on using the changeset viewer.
