Changeset 34202
- Timestamp:
- Jul 24, 2012, 3:50:47 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ippconfig/recipes/psphot.config (modified) (3 diffs)
-
psphot/src/psphotCullPeaks.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippconfig/recipes/psphot.config
r34137 r34202 69 69 FOOTPRINT_CULL_NSIGMA_PAD F32 0.01 # Fractional Padding for stdev 70 70 FOOTPRINT_USE_UNSUBTRACTED BOOL TRUE # find footprints without sources subtracted 71 FOOTPRINT_SET_NANS_TO_ZERO BOOL FALSE # set nan pixels in smoothed image to zero when culling peaks 71 72 72 73 # parameter for the simple deblending … … 274 275 275 276 # psphotFitSourcesLinear has 3 options for the weighting: CONSTANT, 276 # IMAGE_VAR, MODEL_VA the first of these used to be folded into the277 # IMAGE_VAR, MODEL_VAR the first of these used to be folded into the 277 278 # boolean CONSTANT_PHOTOMETRIC_WEIGHTS above. 278 279 LINEAR_FIT_VARIANCE_MODE STR CONSTANT … … 340 341 PSPHOT.CR.MAX.MAG F32 0 # guess for limit on Kron Mag 341 342 PSPHOT.CR.AUTOSCALE BOOL FALSE 343 PSPHOT.CR.MAX.WINDOW S32 50 # maximum window to seach for cosmic rays 342 344 343 345 # Detection efficiency -
trunk/psphot/src/psphotCullPeaks.c
r34200 r34202 63 63 # if (PM_PEAKS_CULL_WITH_SMOOTHED_IMAGE) 64 64 psLogMsg ("psphot", PS_LOG_INFO, "Culling peaks from footprints using the smoothed image"); 65 bool setNaNsToZero = psMetadataLookupF32 (&status, recipe, "FOOTPRINT_SET_NANS_TO_ZERO"); 66 if (setNaNsToZero) { 67 // Set NaN pixels to zero so that they do not considered in the footprint analysis 68 // XXX: Currently the caller does nothing further with the significance readout so 69 // modifiying the image does no harm 70 // XXX: Note: signifR->weight is not used by pmFootprintCullPeaks so we don't 71 // need to touch it 72 psImageClipNaN(signifR->image, 0); 73 } 74 75 65 76 # else 66 77 psLogMsg ("psphot", PS_LOG_INFO, "Culling peaks from footprints using the raw (unsmoothed) image");
Note:
See TracChangeset
for help on using the changeset viewer.
