Changeset 31154 for trunk/psphot/src/psphotExtendedSourceAnalysisByObject.c
- Timestamp:
- Apr 4, 2011, 1:12:39 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (2 props)
-
src/psphotExtendedSourceAnalysisByObject.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:ignore
-
old new 19 19 psphot-config 20 20 Doxyfile 21 a.out.dSYM
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
trunk/psphot/src/psphotExtendedSourceAnalysisByObject.c
r30624 r31154 61 61 62 62 // source analysis is done in S/N order (brightest first) 63 objects = psArraySort (objects, pmPhotObjSortBy SN);63 objects = psArraySort (objects, pmPhotObjSortByFlux); 64 64 65 65 // process the objects in order. … … 88 88 // limit selection to some SN limit 89 89 assert (source->peak); // how can a source not have a peak? 90 if (s ource->peak->SN< SN_LIM) continue;90 if (sqrt(source->peak->detValue) < SN_LIM) continue; 91 91 measureSource = true; 92 92 } … … 148 148 psFree(source->extpars->radFlux); 149 149 psFree(source->extpars->ellipticalFlux); 150 psFree(source->extpars->petProfile); 150 151 } 151 152 }
Note:
See TracChangeset
for help on using the changeset viewer.
