Changeset 28013 for trunk/psphot/src/psphotExtendedSourceAnalysis.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotExtendedSourceAnalysis.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/psphotExtendedSourceAnalysis.c
r27819 r28013 1 1 # include "psphotInternal.h" 2 2 3 // ?? these cannot happen here --> we would need to do this in psphotExtendedSourceAnalysis 4 // XXX option to choose a consistent position 5 // XXX option to choose a consistent elliptical contour 6 // XXX SDSS uses the r-band petrosian radius to measure petrosian fluxes in all bands 7 // XXX consistent choice of extendedness... 8 3 9 // for now, let's store the detections on the readout->analysis for each readout 4 bool psphotExtendedSourceAnalysis (pmConfig *config, const pmFPAview *view )10 bool psphotExtendedSourceAnalysis (pmConfig *config, const pmFPAview *view, const char *filerule) 5 11 { 6 12 bool status = true; … … 21 27 // loop over the available readouts 22 28 for (int i = 0; i < num; i++) { 23 if (!psphotExtendedSourceAnalysisReadout (config, view, "PSPHOT.INPUT", i, recipe)) {24 psError (PSPHOT_ERR_CONFIG, false, "failed on measure extended source aperture-like parameters for PSPHOT.INPUT entry %d", i);29 if (!psphotExtendedSourceAnalysisReadout (config, view, filerule, i, recipe)) { 30 psError (PSPHOT_ERR_CONFIG, false, "failed on measure extended source aperture-like parameters for %s entry %d", filerule, i); 25 31 return false; 26 32 } … … 30 36 31 37 // aperture-like measurements for extended sources 32 bool psphotExtendedSourceAnalysisReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe) {38 bool psphotExtendedSourceAnalysisReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) { 33 39 34 40 bool status; … … 42 48 43 49 // find the currently selected readout 44 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest50 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 45 51 psAssert (file, "missing file?"); 46 52
Note:
See TracChangeset
for help on using the changeset viewer.
