Changeset 28013 for trunk/psphot/src/psphotSubtractBackground.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotSubtractBackground.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
-
Property svn:mergeinfo
set to
/branches/eam_branches/psphot.20100506 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/psphot/src/psphotSubtractBackground.c
r27657 r28013 4 4 // generate the median in NxN boxes, clipping heavily 5 5 // linear interpolation to generate full-scale model 6 bool psphotSubtractBackgroundReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe)6 bool psphotSubtractBackgroundReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) 7 7 { 8 8 bool status = true; … … 13 13 14 14 // find the currently selected readout 15 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest15 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 16 16 17 17 pmFPA *inFPA = file->fpa; … … 124 124 } 125 125 126 bool psphotSubtractBackground (pmConfig *config, const pmFPAview *view )126 bool psphotSubtractBackground (pmConfig *config, const pmFPAview *view, const char *filerule) 127 127 { 128 128 bool status = false; … … 137 137 // loop over the available readouts 138 138 for (int i = 0; i < num; i++) { 139 if (!psphotSubtractBackgroundReadout (config, view, "PSPHOT.INPUT", i, recipe)) {139 if (!psphotSubtractBackgroundReadout (config, view, filerule, i, recipe)) { 140 140 psError (PSPHOT_ERR_CONFIG, false, "failed to subtract background for PSPHOT.INPUT entry %d", i); 141 141 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
