Changeset 28013 for trunk/psphot/src/psphotBlendFit.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotBlendFit.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/psphotBlendFit.c
r26894 r28013 2 2 3 3 // for now, let's store the detections on the readout->analysis for each readout 4 bool psphotBlendFit (pmConfig *config, const pmFPAview *view )4 bool psphotBlendFit (pmConfig *config, const pmFPAview *view, const char *filerule) 5 5 { 6 6 bool status = true; … … 15 15 // loop over the available readouts 16 16 for (int i = 0; i < num; i++) { 17 if (!psphotBlendFitReadout (config, view, "PSPHOT.INPUT", i, recipe)) {18 psError (PSPHOT_ERR_CONFIG, false, "failed to fit sources (non-linear) for PSPHOT.INPUT entry %d", i);17 if (!psphotBlendFitReadout (config, view, filerule, i, recipe)) { 18 psError (PSPHOT_ERR_CONFIG, false, "failed to fit sources (non-linear) for %s entry %d", filerule, i); 19 19 return false; 20 20 } … … 24 24 25 25 // XXX I don't like this name 26 bool psphotBlendFitReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe) {26 bool psphotBlendFitReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) { 27 27 28 28 int Nfit = 0; … … 35 35 36 36 // find the currently selected readout 37 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest37 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 38 38 psAssert (file, "missing file?"); 39 39
Note:
See TracChangeset
for help on using the changeset viewer.
