IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5805


Ignore:
Timestamp:
Dec 17, 2005, 10:33:55 AM (21 years ago)
Author:
magnier
Message:

adding pmSourceMode, rework pmSourceType values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_b0/psModules/src/objects/pmObjects.h

    r5738 r5805  
    1010 *  @author GLG, MHPCC
    1111 *
    12  *  @version $Revision: 1.2.10.2 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-12-07 22:31:25 $
     12 *  @version $Revision: 1.2.10.3 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-12-17 20:33:55 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    162162 */
    163163typedef enum {
     164    PM_SOURCE_UNKNOWN,                  ///< a cosmic-ray
    164165    PM_SOURCE_DEFECT,                   ///< a cosmic-ray
    165166    PM_SOURCE_SATURATED,                ///< random saturated pixels
    166 
    167     PM_SOURCE_SATSTAR,                  ///< a saturated star
    168     PM_SOURCE_PSFSTAR,                  ///< a PSF star
    169     PM_SOURCE_GOODSTAR,                 ///< a good-quality star
    170 
    171     PM_SOURCE_POOR_FIT_PSF,             ///< poor quality PSF fit
    172     PM_SOURCE_FAIL_FIT_PSF,             ///< failed to get a good PSF fit
    173     PM_SOURCE_FAINTSTAR,                ///< below S/N cutoff
    174 
     167    PM_SOURCE_STAR,                     ///< a good-quality star
    175168    PM_SOURCE_GALAXY,                   ///< an extended object (galaxy)
    176     PM_SOURCE_FAINT_GALAXY,             ///< a galaxy below S/N cutoff
    177     PM_SOURCE_DROP_GALAXY,              ///< ?
    178     PM_SOURCE_FAIL_FIT_GAL,             ///< failed on the galaxy fit
    179     PM_SOURCE_POOR_FIT_GAL,             ///< poor quality galaxy fit
    180 
    181     PM_SOURCE_OTHER,                    ///< unidentified
    182169} pmSourceType;
     170
     171typedef enum {
     172    PM_SOURCE_DEFAULT    = 0x0000, ///<
     173    PM_SOURCE_PSFMODEL   = 0x0001, ///<
     174    PM_SOURCE_FLTMODEL   = 0x0002, ///<
     175    PM_SOURCE_SUBTRACTED = 0x0004, ///<
     176    PM_SOURCE_FITTED     = 0x0008, ///<
     177    PM_SOURCE_FAIL       = 0x0010, ///<
     178    PM_SOURCE_POOR       = 0x0020, ///<
     179    PM_SOURCE_PAIR       = 0x0040, ///<
     180    PM_SOURCE_PSFSTAR    = 0x0080, ///<
     181    PM_SOURCE_SATSTAR    = 0x0100, ///<
     182    PM_SOURCE_BLEND      = 0x0200, ///<
     183    PM_SOURCE_LINEAR     = 0x0400, ///<
     184} pmSourceMode;
    183185
    184186/** pmSource data structure
     
    199201    pmModel *modelFLT;   ///< FLT (floating) Model fit (parameters and type).
    200202    pmSourceType type;   ///< Best identification of object.
     203    pmSourceMode mode;   ///< Best identification of object.
    201204    float apMag;
    202205    float fitMag;
Note: See TracChangeset for help on using the changeset viewer.