- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/psModules
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/psModules merged eligible /branches/eam_branches/stackphot.20100406/psModules 27623-27653 /branches/pap_delete/psModules 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/psModules/src/objects/pmSource.h
r24579 r27840 16 16 #include "pmMoments.h" 17 17 #include "pmSourceExtendedPars.h" 18 #include "pmSourceDiffStats.h" 18 19 19 20 /// @addtogroup Objects Object Detection / Analysis Functions … … 38 39 39 40 typedef enum { 40 PM_SOURCE_TMPF_MODEL_GUESS = 0x0001, 41 PM_SOURCE_TMPF_SUBTRACTED = 0x0002, 41 PM_SOURCE_TMPF_MODEL_GUESS = 0x0001, 42 PM_SOURCE_TMPF_SUBTRACTED = 0x0002, 43 PM_SOURCE_TMPF_SIZE_MEASURED = 0x0004, 44 PM_SOURCE_TMPF_SIZE_CR_CANDIDATE = 0x0008, 45 PM_SOURCE_TMPF_MOMENTS_MEASURED = 0x0010, 42 46 } pmSourceTmpF; 43 47 … … 63 67 psImage *maskView; ///< view into global image mask for this object region 64 68 psImage *modelFlux; ///< cached copy of the best model for this source 65 psImage *psf Flux; ///< cached copy of the psf model for this source69 psImage *psfImage; ///< cached copy of the psf model for this source 66 70 pmMoments *moments; ///< Basic moments measured for the object. 67 71 pmModel *modelPSF; ///< PSF Model fit (parameters and type) … … 73 77 psArray *blends; ///< collection of sources thought to be confused with object 74 78 float psfMag; ///< calculated from flux in modelPSF 79 float psfFlux; ///< calculated from flux in modelPSF 80 float psfFluxErr; ///< calculated from flux in modelPSF 75 81 float extMag; ///< calculated from flux in modelEXT 76 82 float errMag; ///< error in psfMag OR extMag (depending on type) … … 81 87 float extNsigma; ///< Nsigma deviation from PSF to EXT 82 88 float sky, skyErr; ///< The sky and its error at the center of the object 89 float apRadius; 83 90 psRegion region; ///< area on image covered by selected pixels 84 91 pmSourceExtendedPars *extpars; ///< extended source parameters 92 pmSourceDiffStats *diffStats; ///< extra parameters for difference detections 93 int imageID; 85 94 }; 86 95 … … 98 107 float Y; 99 108 float dY; 109 int nStars; 110 float nSigma; 100 111 } 101 112 pmPSFClump; … … 172 183 * 173 184 * The return value indicates the success (TRUE) of the operation. 174 * 175 * XXX: Limit the S/N of the candidate sources (part of Metadata)? (TBD). 176 * XXX: Save the clump parameters on the Metadata (TBD) 177 * 178 */ 185 */ 186 179 187 pmPSFClump pmSourcePSFClump( 188 psImage **savedImage, 180 189 psRegion *region, ///< restrict measurement to specified region 181 190 psArray *source, ///< The input pmSource 182 psMetadata *metadata ///< Contains classification parameters 191 float PSF_SN_LIM, 192 float PSF_CLUMP_GRID_SCALE, 193 psF32 SX_MAX, 194 psF32 SY_MAX, 195 psF32 AR_MAX 183 196 ); 184 197 … … 196 209 psRegion *region, ///< restrict measurement to specified region 197 210 psArray *sources, ///< The input pmSources 198 psMetadata *metadata, ///< Contains classification parameters 211 float PSF_SN_LIM, ///< min S/N for source to be used for PSF model 212 float PSF_CLUMP_NSIGMA, ///< size of region around peak of clump for PSF stars 199 213 pmPSFClump clump, ///< Statistics about the PSF clump 200 214 psImageMaskType maskSat ///< Mask value for saturated pixels … … 216 230 float radius, ///< Use a circle of pixels around the peak 217 231 float sigma, ///< size of Gaussian window function (<= 0.0 -> skip window) 218 float minSN ///< minimum pixel significance 232 float minSN, ///< minimum pixel significance 233 psImageMaskType maskVal 219 234 ); 220 235 … … 232 247 int pmSourceSortBySN (const void **a, const void **b); 233 248 int pmSourceSortByY (const void **a, const void **b); 249 int pmSourceSortByX (const void **a, const void **b); 234 250 int pmSourceSortBySeq (const void **a, const void **b); 235 251
Note:
See TracChangeset
for help on using the changeset viewer.
