IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of IPP_Detection_Bitmasks


Ignore:
Timestamp:
May 12, 2009, 4:58:40 AM (17 years ago)
Author:
Sebastian Jester
Comment:

link to current flag values

Legend:

Unmodified
Added
Removed
Modified
  • IPP_Detection_Bitmasks

    v2 v3  
    11=== IPP Object Catalog Bit Masks ===
    22
    3 The IPP pipeline stores some information about object in the FLAGS value in the CMF file.  These values represent  "bit masks", not standard integer values.  That is, individual bits within the value have meaning, rather than the value itself.  The bit masks for CMF files are
     3The IPP pipeline stores some information about object in the FLAGS value in the CMF file.  These values represent  "bit masks", not standard integer values.  That is, individual bits within the value have meaning, rather than the value itself.  The bit masks for CMF files are defined in
    44
    5 {{{
    6 typedef enum {
    7     PM_SOURCE_MODE_DEFAULT    = 0x0000, ///<
    8     PM_SOURCE_MODE_PSFMODEL   = 0x0001, ///< Source fitted with a psf model (linear or non-linear)
    9     PM_SOURCE_MODE_EXTMODEL   = 0x0002, ///< Source fitted with an extended-source model
    10     PM_SOURCE_MODE_FITTED     = 0x0004, ///< Source fitted with non-linear model (PSF or EXT; good or bad)
    11     PM_SOURCE_MODE_FAIL       = 0x0008, ///< Fit (non-linear) failed (non-converge, off-edge, run to zero)
    12     PM_SOURCE_MODE_POOR       = 0x0010, ///< Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?)
    13     PM_SOURCE_MODE_PAIR       = 0x0020, ///< Source fitted with a double psf
    14     PM_SOURCE_MODE_PSFSTAR    = 0x0040, ///< Source used to define PSF model
    15     PM_SOURCE_MODE_SATSTAR    = 0x0080, ///< Source model peak is above saturation
    16     PM_SOURCE_MODE_BLEND      = 0x0100, ///< Source is a blend with other sourcers
    17     PM_SOURCE_MODE_EXTERNAL   = 0x0200, ///< Source based on supplied input position
    18     PM_SOURCE_MODE_BADPSF     = 0x0400, ///< Failed to get good estimate of object's PSF
    19     PM_SOURCE_MODE_DEFECT     = 0x0800, ///< Source is thought to be a defect
    20     PM_SOURCE_MODE_SATURATED  = 0x1000, ///< Source is thought to be saturated pixels (bleed trail)
    21     PM_SOURCE_MODE_CR_LIMIT   = 0x2000, ///< Source has crNsigma above limit
    22     PM_SOURCE_MODE_EXT_LIMIT  = 0x4000, ///< Source has extNsigma above limit
    23     PM_SOURCE_MODE_SUBTRACTED = 0x8000, ///< XXX this flag is actually only used internally (move)
    24 } pmSourceMode;
    25 }}}
     5 source:trunk/psModules/src/objects/pmSourceMasks.h
    266
    27 These are defined in the IPP code base in "ipp/psModules/src/objects/pmSource.h"
     7(that link takes you to the current version of the flags at any point in time; maybe we need to link to the flags for a tagged version of IPP once there is once for run3, e.g.)
    288
    299If I were in charge of the Transient Classification Server and only wanted to consider objects that were single PSF-like, I might use the following bitmasks to denote bad and good objects: