IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2008, 8:00:41 PM (18 years ago)
Author:
eugene
Message:

cleanup comments, add modelFits entry, remove modelConv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080324/psModules/src/objects/pmSource.h

    r17275 r17307  
    33 * @author EAM, IfA; GLG, MHPCC
    44 *
    5  * @version $Revision: 1.23.2.1 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-04-02 21:16:16 $
     5 * @version $Revision: 1.23.2.2 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2008-04-03 06:00:41 $
    77 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    88 */
     
    2222 * source.
    2323 *
    24  * XXX: The values given below are currently illustrative and will require
    25  * some modification as the source classification code is developed. (TBD)
    26  *
    2724 */
    2825typedef enum {
    29     PM_SOURCE_TYPE_UNKNOWN,  ///< a cosmic-ray
    30     PM_SOURCE_TYPE_DEFECT,  ///< a cosmic-ray
    31     PM_SOURCE_TYPE_SATURATED,  ///< random saturated pixels
    32     PM_SOURCE_TYPE_STAR,  ///< a good-quality star
    33     PM_SOURCE_TYPE_EXTENDED,  ///< an extended object (eg, galaxy)
     26    PM_SOURCE_TYPE_UNKNOWN,             ///< not yet classified
     27    PM_SOURCE_TYPE_DEFECT,              ///< a cosmic-ray
     28    PM_SOURCE_TYPE_SATURATED,           ///< random saturated pixels (eg, bleed trails)
     29    PM_SOURCE_TYPE_STAR,                ///< a good-quality star (subtracted model is PSF)
     30    PM_SOURCE_TYPE_EXTENDED,            ///< an extended object (eg, galaxy) (subtracted model is EXT)
    3431} pmSourceType;
    3532
     
    4845    PM_SOURCE_MODE_BADPSF     = 0x0400, ///< Failed to get good estimate of object's PSF
    4946    PM_SOURCE_MODE_DEFECT     = 0x0800, ///< Source is thought to be a defect
    50     PM_SOURCE_MODE_SATURATED  = 0x1000, ///< Source is thought to be saturation
     47    PM_SOURCE_MODE_SATURATED  = 0x1000, ///< Source is thought to be saturated pixels (bleed trail)
    5148    PM_SOURCE_MODE_CR_LIMIT   = 0x2000, ///< Source has crNsigma above limit
    52     PM_SOURCE_MODE_EXT_LIMIT  = 0x4000, ///< Source has crNsigma above limit
     49    PM_SOURCE_MODE_EXT_LIMIT  = 0x4000, ///< Source has extNsigma above limit
    5350    PM_SOURCE_MODE_SUBTRACTED = 0x8000, ///< XXX this flag is actually only used internally (move)
    5451} pmSourceMode;
     
    6966    const int id;                       ///< Unique ID for object
    7067    int seq;                            ///< ID for output (generated on write)
    71     pmPeak *peak;                       ///< Description of peak pixel.
     68    pmPeak  *peak;                      ///< Description of peak pixel.
    7269    psImage *pixels;                    ///< Rectangular region including object pixels.
    7370    psImage *weight;                    ///< Image variance.
     
    7673    psImage *modelFlux;                 ///< cached copy of the best model for this source
    7774    psImage *psfFlux;                   ///< cached copy of the psf model for this source
    78     pmMoments *moments;                 ///< Basic moments measure for the object.
     75    pmMoments *moments;                 ///< Basic moments measured for the object.
    7976    pmModel *modelPSF;                  ///< PSF Model fit (parameters and type)
    80     pmModel *modelEXT;                  ///< EXT (floating) Model fit (parameters and type).
    81     pmModel *modelConv;                 ///< PSF-Convolved Model fit (parameters and type).
     77    pmModel *modelEXT;                  ///< EXT Model fit used for subtraction (parameters and type)
     78    psArray *modelFits;                 ///< collection of extended source models (best == modelEXT)
    8279    pmSourceType type;                  ///< Best identification of object.
    83     pmSourceMode mode;                  ///< Best identification of object.
    84     psArray *blends;
    85     float psfMag;                       ///< calculated from flux in modelPsf
     80    pmSourceMode mode;                  ///< analysis flags set for object.
     81    psArray *blends;                    ///< collection of sources thought to be confused with object
     82    float psfMag;                       ///< calculated from flux in modelPSF
    8683    float extMag;                       ///< calculated from flux in modelEXT
    8784    float errMag;                       ///< error in psfMag OR extMag (depending on type)
    8885    float apMag;                        ///< apMag corresponding to psfMag or extMag (depending on type)
    8986    float pixWeight;                    ///< model-weighted coverage of valid pixels
    90     float psfChisq;                      ///< probability of PSF
     87    float psfChisq;                     ///< probability of PSF
    9188    float crNsigma;                     ///< Nsigma deviation from PSF to CR
    9289    float extNsigma;                    ///< Nsigma deviation from PSF to EXT
     90    float sky, skyErr;                  ///< The sky and its error at the center of the object
    9391    psRegion region;                    ///< area on image covered by selected pixels
    94     float sky, skyErr;                  ///< The sky and its error at the center of the object
    9592    pmSourceExtendedPars *extpars;      ///< extended source parameters
    9693};
Note: See TracChangeset for help on using the changeset viewer.