Changeset 5958 for branches/eam_rel9_p0/psModules/src/objects/pmObjects.h
- Timestamp:
- Jan 9, 2006, 6:46:03 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_p0/psModules/src/objects/pmObjects.h
r5765 r5958 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $13 * @date $Date: 200 5-12-12 21:14:38$12 * @version $Revision: 1.4.4.1 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-01-10 04:46:03 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 118 118 pmPSFClump; 119 119 120 // type of model carried by the pmModel structure 120 121 typedef int pmModelType; 121 #define PS_MODEL_GAUSS 0 122 #define PS_MODEL_PGAUSS 1 123 #define PS_MODEL_QGAUSS 2 124 #define PS_MODEL_SGAUSS 3 125 122 123 typedef enum { 124 PM_MODEL_UNTRIED, ///< model fit not yet attempted 125 PM_MODEL_SUCCESS, ///< model fit succeeded 126 PM_MODEL_NONCONVERGE, ///< model fit did not converge 127 PM_MODEL_OFFIMAGE, ///< model fit drove out of range 128 PM_MODEL_BADARGS ///< model fit called with invalid args 129 } pmModelStatus; 126 130 127 131 /** pmModel data structure … … 142 146 int nDOF; ///< number of degrees of freedom 143 147 int nIter; ///< number of iterations to reach min 148 int status; ///< fit status 144 149 float radius; ///< fit radius actually used 145 150 } … … 157 162 */ 158 163 typedef enum { 164 PM_SOURCE_UNKNOWN, ///< a cosmic-ray 159 165 PM_SOURCE_DEFECT, ///< a cosmic-ray 160 166 PM_SOURCE_SATURATED, ///< random saturated pixels 161 162 PM_SOURCE_SATSTAR, ///< a saturated star 163 PM_SOURCE_PSFSTAR, ///< a PSF star 164 PM_SOURCE_GOODSTAR, ///< a good-quality star 165 166 PM_SOURCE_POOR_FIT_PSF, ///< poor quality PSF fit 167 PM_SOURCE_FAIL_FIT_PSF, ///< failed to get a good PSF fit 168 PM_SOURCE_FAINTSTAR, ///< below S/N cutoff 169 167 PM_SOURCE_STAR, ///< a good-quality star 170 168 PM_SOURCE_GALAXY, ///< an extended object (galaxy) 171 PM_SOURCE_FAINT_GALAXY, ///< a galaxy below S/N cutoff172 PM_SOURCE_DROP_GALAXY, ///< ?173 PM_SOURCE_FAIL_FIT_GAL, ///< failed on the galaxy fit174 PM_SOURCE_POOR_FIT_GAL, ///< poor quality galaxy fit175 176 PM_SOURCE_OTHER, ///< unidentified177 169 } pmSourceType; 170 171 typedef enum { 172 PM_SOURCE_DEFAULT = 0x0000, ///< 173 PM_SOURCE_PSFMODEL = 0x0001, ///< 174 PM_SOURCE_FLTMODEL = 0x0002, ///< 175 PM_SOURCE_SUBTRACTED = 0x0004, ///< 176 PM_SOURCE_FITTED = 0x0008, ///< 177 PM_SOURCE_FAIL = 0x0010, ///< 178 PM_SOURCE_POOR = 0x0020, ///< 179 PM_SOURCE_PAIR = 0x0040, ///< 180 PM_SOURCE_PSFSTAR = 0x0080, ///< 181 PM_SOURCE_SATSTAR = 0x0100, ///< 182 PM_SOURCE_BLEND = 0x0200, ///< 183 PM_SOURCE_LINEAR = 0x0400, ///< 184 PM_SOURCE_TEMPSUB = 0x0800, ///< XXX get me a better name! 185 } pmSourceMode; 178 186 179 187 /** pmSource data structure … … 194 202 pmModel *modelFLT; ///< FLT (floating) Model fit (parameters and type). 195 203 pmSourceType type; ///< Best identification of object. 204 pmSourceMode mode; ///< Best identification of object. 205 psArray *blends; 206 float apMag; 207 float fitMag; 196 208 } 197 209 pmSource; … … 507 519 psImage *mask, ///< The image pixel mask (valid == 0) 508 520 pmModel *model, ///< The input pmModel 509 bool center ///< A boolean flag that determines whether pixels are centered 521 bool center, ///< A boolean flag that determines whether pixels are centered 522 bool sky ///< A boolean flag that determines if the sky is subtracted 510 523 ); 511 524 … … 525 538 psImage *mask, ///< The image pixel mask (valid == 0) 526 539 pmModel *model, ///< The input pmModel 527 bool center ///< A boolean flag that determines whether pixels are centered 540 bool center, ///< A boolean flag that determines whether pixels are centered 541 bool sky ///< A boolean flag that determines if the sky is subtracted 528 542 ); 529 543
Note:
See TracChangeset
for help on using the changeset viewer.
