Changeset 13898 for trunk/psModules/src/objects/pmSource.h
- Timestamp:
- Jun 19, 2007, 4:22:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSource.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSource.h
r13567 r13898 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 5-31 12:30:19$5 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-06-20 02:22:26 $ 7 7 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 8 8 */ … … 59 59 typedef struct 60 60 { 61 const int id; ///< Unique ID for object62 pmPeak *peak; ///< Description of peak pixel.63 psImage *pixels; ///< Rectangular region including object pixels.64 psImage *weight; ///< Image variance.65 psImage *modelFlux; ///< cached copy of the model for this source66 psImage *maskObj; ///< unique mask for this object which marks included pixels associated with objects.67 psImage *maskView; ///< view into global image mask for this object region68 pmMoments *moments; ///< Basic moments measure for the object.69 pmModel *modelPSF; ///< PSF Model fit (parameters and type)70 pmModel *modelEXT; ///< EXT (floating) Model fit (parameters and type).71 pmSourceType type; ///< Best identification of object.72 pmSourceMode mode; ///< Best identification of object.61 const int id; ///< Unique ID for object 62 pmPeak *peak; ///< Description of peak pixel. 63 psImage *pixels; ///< Rectangular region including object pixels. 64 psImage *weight; ///< Image variance. 65 psImage *modelFlux; ///< cached copy of the model for this source 66 psImage *maskObj; ///< unique mask for this object which marks included pixels associated with objects. 67 psImage *maskView; ///< view into global image mask for this object region 68 pmMoments *moments; ///< Basic moments measure for the object. 69 pmModel *modelPSF; ///< PSF Model fit (parameters and type) 70 pmModel *modelEXT; ///< EXT (floating) Model fit (parameters and type). 71 pmSourceType type; ///< Best identification of object. 72 pmSourceMode mode; ///< Best identification of object. 73 73 psArray *blends; 74 float psfMag; ///< calculated from flux in modelPsf75 float extMag; ///< calculated from flux in modelEXT76 float errMag; ///< error in psfMag OR extMag (depending on type)77 float apMag; ///< apMag corresponding to psfMag or extMag (depending on type)78 float pixWeight; // model-weighted coverage of valid pixels79 psRegion region; // area on image covered by selected pixels80 float sky, skyErr; //?< The sky and its error at the center of the object74 float psfMag; ///< calculated from flux in modelPsf 75 float extMag; ///< calculated from flux in modelEXT 76 float errMag; ///< error in psfMag OR extMag (depending on type) 77 float apMag; ///< apMag corresponding to psfMag or extMag (depending on type) 78 float pixWeight; // model-weighted coverage of valid pixels 79 psRegion region; // area on image covered by selected pixels 80 float sky, skyErr; //?< The sky and its error at the center of the object 81 81 } 82 82 pmSource; … … 192 192 psArray *source, ///< The input pmSource 193 193 psMetadata *metadata, ///< Contains classification parameters 194 pmPSFClump clump ///< Statistics about the PSF clump 194 pmPSFClump clump, ///< Statistics about the PSF clump 195 psMaskType maskSat ///< Mask value for saturated pixels 195 196 ); 196 197 … … 213 214 pmModel *pmSourceGetModel (bool *isPSF, const pmSource *source); 214 215 215 bool pmSourceAdd (pmSource *source, pmModelOpMode mode );216 bool pmSourceSub (pmSource *source, pmModelOpMode mode );217 218 bool pmSourceOp (pmSource *source, pmModelOpMode mode, bool add );219 bool pmSourceCacheModel (pmSource *source );216 bool pmSourceAdd (pmSource *source, pmModelOpMode mode, psMaskType maskVal); 217 bool pmSourceSub (pmSource *source, pmModelOpMode mode, psMaskType maskVal); 218 219 bool pmSourceOp (pmSource *source, pmModelOpMode mode, bool add, psMaskType maskVal); 220 bool pmSourceCacheModel (pmSource *source, psMaskType maskVal); 220 221 221 222 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
