- Timestamp:
- Aug 26, 2010, 9:18:39 AM (16 years ago)
- Location:
- branches/sc_branches/trunkTest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/trunkTest
- Property svn:mergeinfo changed
-
branches/sc_branches/trunkTest/psModules
- Property svn:mergeinfo deleted
-
branches/sc_branches/trunkTest/psModules/src/objects/pmSource.h
r28013 r29060 11 11 # define PM_SOURCE_H 12 12 13 #include <pslib.h>14 #include "pmPeaks.h"15 #include "pmModel.h"16 #include "pmMoments.h"17 #include "pmSourceExtendedPars.h"18 #include "pmSourceDiffStats.h"19 20 13 /// @addtogroup Objects Object Detection / Analysis Functions 21 14 /// @{ 22 23 #include <pmSourceMasks.h>24 15 25 16 /** pmSourceType enumeration … … 74 65 pmSourceType type; ///< Best identification of object. 75 66 pmSourceMode mode; ///< analysis flags set for object. 67 pmSourceMode2 mode2; ///< analysis flags set for object. 76 68 pmSourceTmpF tmpFlags; ///< internal-only flags 77 69 psArray *blends; ///< collection of sources thought to be confused with object … … 82 74 float errMag; ///< error in psfMag OR extMag (depending on type) 83 75 float apMag; ///< apMag corresponding to psfMag or extMag (depending on type) 84 float pixWeight; ///< model-weighted coverage of valid pixels 76 float apMagRaw; ///< raw mag in given aperture 77 float apRadius; ///< radius for aperture magnitude 78 79 float pixWeightNotBad; ///< PSF-weighted coverage of unmasked (not BAD) pixels 80 float pixWeightNotPoor; ///< PSF-weighted coverage of unmasked (not POOR) pixels 81 85 82 float psfChisq; ///< probability of PSF 86 83 float crNsigma; ///< Nsigma deviation from PSF to CR 87 84 float extNsigma; ///< Nsigma deviation from PSF to EXT 88 85 float sky, skyErr; ///< The sky and its error at the center of the object 89 float apRadius;90 86 psRegion region; ///< area on image covered by selected pixels 91 87 pmSourceExtendedPars *extpars; ///< extended source parameters … … 113 109 pmPSFClump; 114 110 111 // private macro to set the source ID (a const) 112 #define P_PM_SOURCE_SET_ID(S,V) { *(int *)&(S)->id = (V); } 115 113 116 114 /** pmSourceAlloc() … … 126 124 127 125 pmSource *pmSourceCopy(pmSource *source); 126 pmSource *pmSourceCopyData(pmSource *in); 128 127 129 128 // free just the pixels for a source, keeping derived data … … 242 241 bool pmSourceSubWithOffset (pmSource *source, pmModelOpMode mode, psImageMaskType maskVal, int dx, int dy); 243 242 243 bool pmSourceNoiseOpModel (pmModel *model, pmSource *source, pmModelOpMode mode, float FACTOR, float SIZE, bool add, psImageMaskType maskVal, int dx, int dy); 244 bool pmSourceNoiseOp (pmSource *source, pmModelOpMode mode, float FACTOR, float SIZE, bool add, psImageMaskType maskVal, int dx, int dy); 245 244 246 bool pmSourceOp (pmSource *source, pmModelOpMode mode, bool add, psImageMaskType maskVal, int dx, int dy); 245 247 bool pmSourceCacheModel (pmSource *source, psImageMaskType maskVal);
Note:
See TracChangeset
for help on using the changeset viewer.
