Changeset 17396 for trunk/psModules/src/objects/pmSource.h
- Timestamp:
- Apr 8, 2008, 8:36:06 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSource.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSource.h
r16819 r17396 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $6 * @date $Date: 2008-0 3-05 01:08:08 $5 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2008-04-08 18:35:38 $ 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 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) 47 PM_SOURCE_MODE_SATURATED = 0x1000, ///< Source is thought to be saturated pixels (bleed trail) 48 PM_SOURCE_MODE_CR_LIMIT = 0x2000, ///< Source has crNsigma above limit 49 PM_SOURCE_MODE_EXT_LIMIT = 0x4000, ///< Source has extNsigma above limit 50 PM_SOURCE_MODE_SUBTRACTED = 0x8000, ///< XXX this flag is actually only used internally (move) 53 51 } pmSourceMode; 54 52 … … 60 58 * 61 59 * XXX do I have to re-organize this (again!) to allow an arbitrary set of extended model fits?? 60 * XXX put the Mag and Err inside the pmModel? 61 * XXX keep the modelEXT or add to the psArray 62 * 62 63 * 63 64 */ … … 65 66 const int id; ///< Unique ID for object 66 67 int seq; ///< ID for output (generated on write) 67 pmPeak *peak;///< Description of peak pixel.68 pmPeak *peak; ///< Description of peak pixel. 68 69 psImage *pixels; ///< Rectangular region including object pixels. 69 70 psImage *weight; ///< Image variance. … … 72 73 psImage *modelFlux; ///< cached copy of the best model for this source 73 74 psImage *psfFlux; ///< cached copy of the psf model for this source 74 pmMoments *moments; ///< Basic moments measure for the object.75 pmMoments *moments; ///< Basic moments measured for the object. 75 76 pmModel *modelPSF; ///< PSF Model fit (parameters and type) 76 pmModel *modelEXT; ///< EXT (floating) Model fit (parameters and type).77 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) 78 79 pmSourceType type; ///< Best identification of object. 79 pmSourceMode mode; ///< Best identification ofobject.80 psArray *blends; 81 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 82 83 float extMag; ///< calculated from flux in modelEXT 83 84 float errMag; ///< error in psfMag OR extMag (depending on type) 84 85 float apMag; ///< apMag corresponding to psfMag or extMag (depending on type) 85 86 float pixWeight; ///< model-weighted coverage of valid pixels 86 float psfChisq; ///< probability of PSF87 float psfChisq; ///< probability of PSF 87 88 float crNsigma; ///< Nsigma deviation from PSF to CR 88 89 float extNsigma; ///< Nsigma deviation from PSF to EXT 90 float sky, skyErr; ///< The sky and its error at the center of the object 89 91 psRegion region; ///< area on image covered by selected pixels 90 float sky, skyErr; ///< The sky and its error at the center of the object91 92 pmSourceExtendedPars *extpars; ///< extended source parameters 92 93 };
Note:
See TracChangeset
for help on using the changeset viewer.
