Changeset 27838 for branches/tap_branches/psModules/src/objects/pmSource.h
- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_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/tap_branches/psModules/src/objects/pmSource.h
r25754 r27838 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, 42 PM_SOURCE_TMPF_SIZE_MEASURED = 0x0004, 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, 43 46 } pmSourceTmpF; 44 47 … … 64 67 psImage *maskView; ///< view into global image mask for this object region 65 68 psImage *modelFlux; ///< cached copy of the best model for this source 66 psImage *psf Flux; ///< cached copy of the psf model for this source69 psImage *psfImage; ///< cached copy of the psf model for this source 67 70 pmMoments *moments; ///< Basic moments measured for the object. 68 71 pmModel *modelPSF; ///< PSF Model fit (parameters and type) … … 74 77 psArray *blends; ///< collection of sources thought to be confused with object 75 78 float psfMag; ///< calculated from flux in modelPSF 79 float psfFlux; ///< calculated from flux in modelPSF 80 float psfFluxErr; ///< calculated from flux in modelPSF 76 81 float extMag; ///< calculated from flux in modelEXT 77 82 float errMag; ///< error in psfMag OR extMag (depending on type) … … 85 90 psRegion region; ///< area on image covered by selected pixels 86 91 pmSourceExtendedPars *extpars; ///< extended source parameters 92 pmSourceDiffStats *diffStats; ///< extra parameters for difference detections 93 int imageID; 87 94 }; 88 95 … … 176 183 * 177 184 * The return value indicates the success (TRUE) of the operation. 178 * 179 * XXX: Limit the S/N of the candidate sources (part of Metadata)? (TBD). 180 * XXX: Save the clump parameters on the Metadata (TBD) 181 * 182 */ 185 */ 186 183 187 pmPSFClump pmSourcePSFClump( 188 psImage **savedImage, 184 189 psRegion *region, ///< restrict measurement to specified region 185 190 psArray *source, ///< The input pmSource 186 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 187 196 ); 188 197 … … 200 209 psRegion *region, ///< restrict measurement to specified region 201 210 psArray *sources, ///< The input pmSources 202 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 203 213 pmPSFClump clump, ///< Statistics about the PSF clump 204 214 psImageMaskType maskSat ///< Mask value for saturated pixels … … 220 230 float radius, ///< Use a circle of pixels around the peak 221 231 float sigma, ///< size of Gaussian window function (<= 0.0 -> skip window) 222 float minSN ///< minimum pixel significance 232 float minSN, ///< minimum pixel significance 233 psImageMaskType maskVal 223 234 ); 224 235 … … 236 247 int pmSourceSortBySN (const void **a, const void **b); 237 248 int pmSourceSortByY (const void **a, const void **b); 249 int pmSourceSortByX (const void **a, const void **b); 238 250 int pmSourceSortBySeq (const void **a, const void **b); 239 251
Note:
See TracChangeset
for help on using the changeset viewer.
