- Timestamp:
- May 19, 2010, 2:08:46 PM (16 years ago)
- Location:
- branches/czw_branch/20100427/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotSkyReplace.c (modified) (3 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/psphotSkyReplace.c
r27657 r28029 1 1 # include "psphotInternal.h" 2 2 3 bool psphotSkyReplace (pmConfig *config, const pmFPAview *view )3 bool psphotSkyReplace (pmConfig *config, const pmFPAview *view, const char *filerule) 4 4 { 5 5 bool status = true; … … 15 15 for (int i = 0; i < num; i++) { 16 16 if (i == chisqNum) continue; // skip chisq image 17 if (!psphotSkyReplaceReadout (config, view, "PSPHOT.INPUT", i)) {18 psError (PSPHOT_ERR_CONFIG, false, "failed to replace sky for PSPHOT.INPUT entry %d", i);17 if (!psphotSkyReplaceReadout (config, view, filerule, i)) { 18 psError (PSPHOT_ERR_CONFIG, false, "failed to replace sky for %s entry %d", filerule, i); 19 19 return false; 20 20 } … … 25 25 // XXX make this an option? 26 26 // in order to successfully replace the sky, we must define a corresponding file... 27 bool psphotSkyReplaceReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index) {27 bool psphotSkyReplaceReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index) { 28 28 29 29 psTimerStart ("psphot.skyreplace"); 30 30 31 31 // find the currently selected readout 32 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest32 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 33 33 psAssert (file, "missing file?"); 34 34
Note:
See TracChangeset
for help on using the changeset viewer.
