Changeset 28013 for trunk/psphot/src/psphotExtendedSourceFits.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotExtendedSourceFits.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/psphotExtendedSourceFits.c
r26894 r28013 2 2 3 3 // for now, let's store the detections on the readout->analysis for each readout 4 bool psphotExtendedSourceFits (pmConfig *config, const pmFPAview *view )4 bool psphotExtendedSourceFits (pmConfig *config, const pmFPAview *view, const char *filerule) 5 5 { 6 6 bool status = true; … … 21 21 // loop over the available readouts 22 22 for (int i = 0; i < num; i++) { 23 if (!psphotExtendedSourceFitsReadout (config, view, "PSPHOT.INPUT", i, recipe)) {24 psError (PSPHOT_ERR_CONFIG, false, "failed on to fit extended sources for PSPHOT.INPUT entry %d", i);23 if (!psphotExtendedSourceFitsReadout (config, view, filerule, i, recipe)) { 24 psError (PSPHOT_ERR_CONFIG, false, "failed on to fit extended sources for %s entry %d", filerule, i); 25 25 return false; 26 26 } … … 30 30 31 31 // non-linear model fitting for extended sources 32 bool psphotExtendedSourceFitsReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe) {32 bool psphotExtendedSourceFitsReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) { 33 33 34 34 bool status; … … 41 41 42 42 // find the currently selected readout 43 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest43 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 44 44 psAssert (file, "missing file?"); 45 45
Note:
See TracChangeset
for help on using the changeset viewer.
