- Timestamp:
- Mar 18, 2011, 2:09:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psModules/src/objects/pmPeaks.h
r30865 r30974 46 46 * associated with the source: 47 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 48 56 */ 49 57 typedef struct … … 56 64 float dx; ///< bicube fit error on peak coord (x) 57 65 float dy; ///< bicube fit error on peak coord (y) 58 float value; ///< level in detection image 59 float flux; ///< level in unsmoothed sci image 60 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 61 72 bool assigned; ///< is peak assigned to a source? 62 73 pmPeakType type; ///< Description of peak. … … 137 148 ); 138 149 139 int pmPeaksCompareAscend (const void **a, const void **b); 140 int pmPeaksCompareDescend (const void **a, const void **b); 141 142 int pmPeakSortBySN (const void **a, const void **b); 143 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); 144 156 145 157 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
