IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 4, 2008, 3:08:08 PM (18 years ago)
Author:
eugene
Message:

merge changes from eam_branch_20080225 (better flag definitions)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSource.h

    r16066 r16819  
    33 * @author EAM, IfA; GLG, MHPCC
    44 *
    5  * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-01-15 02:48:28 $
     5 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2008-03-05 01:08:08 $
    77 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    88 */
     
    3636typedef enum {
    3737    PM_SOURCE_MODE_DEFAULT    = 0x0000, ///<
    38     PM_SOURCE_MODE_PSFMODEL   = 0x0001, ///<
    39     PM_SOURCE_MODE_EXTMODEL   = 0x0002, ///<
    40     PM_SOURCE_MODE_SUBTRACTED = 0x0004, ///<
    41     PM_SOURCE_MODE_FITTED     = 0x0008, ///<
    42     PM_SOURCE_MODE_FAIL       = 0x0010, ///<
    43     PM_SOURCE_MODE_POOR       = 0x0020, ///<
    44     PM_SOURCE_MODE_PAIR       = 0x0040, ///<
    45     PM_SOURCE_MODE_PSFSTAR    = 0x0080, ///<
    46     PM_SOURCE_MODE_SATSTAR    = 0x0100, ///<
    47     PM_SOURCE_MODE_BLEND      = 0x0200, ///<
    48     PM_SOURCE_MODE_LINEAR     = 0x0400, ///<
    49     PM_SOURCE_MODE_TEMPSUB    = 0x0800, ///< XXX get me a better name!
    50     PM_SOURCE_MODE_EXTERNAL   = 0x1000, ///< XXX get me a better name!
    51     PM_SOURCE_MODE_BADPSF     = 0x2000, ///< Failed to get good estimate of object's PSF
     38    PM_SOURCE_MODE_PSFMODEL   = 0x0001, ///< Source fitted with a psf model (linear or non-linear)
     39    PM_SOURCE_MODE_EXTMODEL   = 0x0002, ///< Source fitted with an extended-source model
     40    PM_SOURCE_MODE_FITTED     = 0x0004, ///< Source fitted with non-linear model (PSF or EXT; good or bad)
     41    PM_SOURCE_MODE_FAIL       = 0x0008, ///< Fit (non-linear) failed (non-converge, off-edge, run to zero)
     42    PM_SOURCE_MODE_POOR       = 0x0010, ///< Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?)
     43    PM_SOURCE_MODE_PAIR       = 0x0020, ///< Source fitted with a double psf
     44    PM_SOURCE_MODE_PSFSTAR    = 0x0040, ///< Source used to define PSF model
     45    PM_SOURCE_MODE_SATSTAR    = 0x0080, ///< Source model peak is above saturation
     46    PM_SOURCE_MODE_BLEND      = 0x0100, ///< Source is a blend with other sourcers
     47    PM_SOURCE_MODE_EXTERNAL   = 0x0200, ///< Source based on supplied input position
     48    PM_SOURCE_MODE_BADPSF     = 0x0400, ///< Failed to get good estimate of object's PSF
     49    PM_SOURCE_MODE_DEFECT     = 0x0800, ///< Source is thought to be a defect
     50    PM_SOURCE_MODE_SATURATED  = 0x1000, ///< Source is thought to be saturation
     51    PM_SOURCE_MODE_CRLIMIT    = 0x2000, ///< Source has crNsigma above limit
     52    PM_SOURCE_MODE_SUBTRACTED = 0x4000, ///< XXX this flag is actually only used internally (move)
    5253} pmSourceMode;
    5354
     
    5758 *  simplest measurement of a source is the location and flux of the peak pixel
    5859 *  associated with the source:
     60 *
     61 *  XXX do I have to re-organize this (again!) to allow an arbitrary set of extended model fits??
    5962 *
    6063 */
Note: See TracChangeset for help on using the changeset viewer.