IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2011, 1:04:41 PM (15 years ago)
Author:
eugene
Message:

updates to pmPeak to better distinguish peak flux versions; updates to visualization; add bits for substantial suspect masking; consolidate assignment of source position and flux based on peak, moments, etc; improve footprint culling process; fix PSF_QF and PSF_QF_PERFECT calculations; fix source model chisq values

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

    • Property svn:ignore
      •  

        old new  
        2828ChangeLog
        2929psmodules-*.tar.*
         30a.out.dSYM
  • trunk/psModules/src/objects/pmPeaks.h

    r29004 r31153  
    3535    PM_PEAK_EDGE,                       ///< Peak on edge.
    3636    PM_PEAK_FLAT,                       ///< Peak has equal-value neighbors.
     37    PM_PEAK_SUSPECT_SATURATION,         ///< Peak is probably saturated
    3738    PM_PEAK_UNDEF                       ///< Undefined.
    3839} pmPeakType;
     
    4546 *  associated with the source:
    4647 *
     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
    4756 */
    4857typedef struct
     
    5564    float dx;                           ///< bicube fit error on peak coord (x)
    5665    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
    6072    bool assigned;                      ///< is peak assigned to a source?
    6173    pmPeakType type;                    ///< Description of peak.
     
    136148);
    137149
    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);
     150int pmPeaksSortByDetValueAscend (const void **a, const void **b);
     151int pmPeaksSortByDetValueDescend (const void **a, const void **b);
     152int pmPeaksSortByRawFluxAscend (const void **a, const void **b);
     153int pmPeaksSortByRawFluxDescend (const void **a, const void **b);
     154int pmPeaksSortBySmoothFluxAscend (const void **a, const void **b);
     155int pmPeaksSortBySmoothFluxDescend (const void **a, const void **b);
    143156
    144157/// @}
Note: See TracChangeset for help on using the changeset viewer.