- Timestamp:
- Apr 2, 2008, 8:00:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080324/psModules/src/objects/pmSource.h
r17275 r17307 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.23.2. 1$ $Name: not supported by cvs2svn $6 * @date $Date: 2008-04-0 2 21:16:16$5 * @version $Revision: 1.23.2.2 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2008-04-03 06:00:41 $ 7 7 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 8 8 */ … … 22 22 * source. 23 23 * 24 * XXX: The values given below are currently illustrative and will require25 * some modification as the source classification code is developed. (TBD)26 *27 24 */ 28 25 typedef enum { 29 PM_SOURCE_TYPE_UNKNOWN, ///< a cosmic-ray30 PM_SOURCE_TYPE_DEFECT, ///< a cosmic-ray31 PM_SOURCE_TYPE_SATURATED, ///< random saturated pixels32 PM_SOURCE_TYPE_STAR, ///< a good-quality star33 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) 34 31 } pmSourceType; 35 32 … … 48 45 PM_SOURCE_MODE_BADPSF = 0x0400, ///< Failed to get good estimate of object's PSF 49 46 PM_SOURCE_MODE_DEFECT = 0x0800, ///< Source is thought to be a defect 50 PM_SOURCE_MODE_SATURATED = 0x1000, ///< Source is thought to be saturat ion47 PM_SOURCE_MODE_SATURATED = 0x1000, ///< Source is thought to be saturated pixels (bleed trail) 51 48 PM_SOURCE_MODE_CR_LIMIT = 0x2000, ///< Source has crNsigma above limit 52 PM_SOURCE_MODE_EXT_LIMIT = 0x4000, ///< Source has crNsigma above limit49 PM_SOURCE_MODE_EXT_LIMIT = 0x4000, ///< Source has extNsigma above limit 53 50 PM_SOURCE_MODE_SUBTRACTED = 0x8000, ///< XXX this flag is actually only used internally (move) 54 51 } pmSourceMode; … … 69 66 const int id; ///< Unique ID for object 70 67 int seq; ///< ID for output (generated on write) 71 pmPeak *peak;///< Description of peak pixel.68 pmPeak *peak; ///< Description of peak pixel. 72 69 psImage *pixels; ///< Rectangular region including object pixels. 73 70 psImage *weight; ///< Image variance. … … 76 73 psImage *modelFlux; ///< cached copy of the best model for this source 77 74 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. 79 76 pmModel *modelPSF; ///< PSF Model fit (parameters and type) 80 pmModel *modelEXT; ///< EXT (floating) Model fit (parameters and type).81 p mModel *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) 82 79 pmSourceType type; ///< Best identification of object. 83 pmSourceMode mode; ///< Best identification ofobject.84 psArray *blends; 85 float psfMag; ///< calculated from flux in modelP sf80 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 86 83 float extMag; ///< calculated from flux in modelEXT 87 84 float errMag; ///< error in psfMag OR extMag (depending on type) 88 85 float apMag; ///< apMag corresponding to psfMag or extMag (depending on type) 89 86 float pixWeight; ///< model-weighted coverage of valid pixels 90 float psfChisq; ///< probability of PSF87 float psfChisq; ///< probability of PSF 91 88 float crNsigma; ///< Nsigma deviation from PSF to CR 92 89 float extNsigma; ///< Nsigma deviation from PSF to EXT 90 float sky, skyErr; ///< The sky and its error at the center of the object 93 91 psRegion region; ///< area on image covered by selected pixels 94 float sky, skyErr; ///< The sky and its error at the center of the object95 92 pmSourceExtendedPars *extpars; ///< extended source parameters 96 93 };
Note:
See TracChangeset
for help on using the changeset viewer.
