Changeset 28029 for branches/czw_branch/20100427/psphot/src/psphotApResid.c
- Timestamp:
- May 19, 2010, 2:08:46 PM (16 years ago)
- Location:
- branches/czw_branch/20100427/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotApResid.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100427/psphot
-
Property svn:mergeinfo
set to
/branches/eam_branches/psphot.20100506 merged eligible /branches/pap/psphot merged eligible /trunk/psphot merged eligible
-
Property svn:mergeinfo
set to
-
branches/czw_branch/20100427/psphot/src/psphotApResid.c
r27657 r28029 5 5 6 6 // for now, let's store the detections on the readout->analysis for each readout 7 bool psphotApResid (pmConfig *config, const pmFPAview *view )7 bool psphotApResid (pmConfig *config, const pmFPAview *view, const char *filerule) 8 8 { 9 9 bool status = true; … … 23 23 for (int i = 0; i < num; i++) { 24 24 if (i == chisqNum) continue; // skip chisq image 25 if (!psphotApResidReadout (config, view, "PSPHOT.INPUT", i, recipe)) {26 psError (PSPHOT_ERR_CONFIG, false, "failed to measure aperture residual for PSPHOT.INPUT entry %d", i);25 if (!psphotApResidReadout (config, view, filerule, i, recipe)) { 26 psError (PSPHOT_ERR_CONFIG, false, "failed to measure aperture residual for %s entry %d", filerule, i); 27 27 return false; 28 28 } … … 31 31 } 32 32 33 bool psphotApResidReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe)33 bool psphotApResidReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) 34 34 { 35 35 int Nfail = 0; … … 43 43 44 44 // find the currently selected readout 45 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest45 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 46 46 psAssert (file, "missing file?"); 47 47
Note:
See TracChangeset
for help on using the changeset viewer.
