Changeset 31153 for trunk/psModules/src/objects/pmPeaks.h
- Timestamp:
- Apr 4, 2011, 1:04:41 PM (15 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmPeaks.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:ignore
-
old new 28 28 ChangeLog 29 29 psmodules-*.tar.* 30 a.out.dSYM
-
- Property svn:ignore
-
trunk/psModules/src/objects/pmPeaks.h
r29004 r31153 35 35 PM_PEAK_EDGE, ///< Peak on edge. 36 36 PM_PEAK_FLAT, ///< Peak has equal-value neighbors. 37 PM_PEAK_SUSPECT_SATURATION, ///< Peak is probably saturated 37 38 PM_PEAK_UNDEF ///< Undefined. 38 39 } pmPeakType; … … 45 46 * associated with the source: 46 47 * 48 * There are 3 values which define the amplitude of the peak and which may be used to sort the 49 * peaks: 50 * * detValue - the peak in the detection image (nominally, the S/N) 51 * * rawFlux - the peak in the unsmoothed image 52 * * smoothFlux - the peak in the smoothed image 53 * 54 * For a given image, peaks do necesarily not have the same sequence for these three values. 55 * Depending on the analysis, it may make sense to sort by one or the other of these values 47 56 */ 48 57 typedef struct … … 55 64 float dx; ///< bicube fit error on peak coord (x) 56 65 float dy; ///< bicube fit error on peak coord (y) 57 float value; ///< level in detection image 58 float flux; ///< level in unsmoothed sci image 59 float SN; ///< S/N implied by detection level 66 float detValue; ///< peak flux in detection image (= S/N) 67 float rawFlux; ///< peak flux in unsmoothed signal image 68 float rawFluxStdev; ///< peak stdev in unsmoothed signal image 69 float smoothFlux; ///< peak flux in smoothed signal image 70 float smoothFluxStdev; ///< peak stdev in smoothed signal image 71 // float SNestimated; ///< S/N estimated from the detection image 60 72 bool assigned; ///< is peak assigned to a source? 61 73 pmPeakType type; ///< Description of peak. … … 136 148 ); 137 149 138 int pmPeaksCompareAscend (const void **a, const void **b); 139 int pmPeaksCompareDescend (const void **a, const void **b); 140 141 int pmPeakSortBySN (const void **a, const void **b); 142 int pmPeakSortByY (const void **a, const void **b); 150 int pmPeaksSortByDetValueAscend (const void **a, const void **b); 151 int pmPeaksSortByDetValueDescend (const void **a, const void **b); 152 int pmPeaksSortByRawFluxAscend (const void **a, const void **b); 153 int pmPeaksSortByRawFluxDescend (const void **a, const void **b); 154 int pmPeaksSortBySmoothFluxAscend (const void **a, const void **b); 155 int pmPeaksSortBySmoothFluxDescend (const void **a, const void **b); 143 156 144 157 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
