Changeset 21338
- Timestamp:
- Feb 5, 2009, 2:04:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_20090128/psphot/src/psphotSignificanceImage.c
r21213 r21338 100 100 101 101 float factor = guess ? 4.0 * M_PI * PS_SQR(SIGMA_SMTH) : 4.0 * M_PI * PS_SQR(SIGMA_SMTH); 102 103 // Correct the correction factor for the covariance produced by the (potentially multiple) smoothing 104 psKernel *kernel = psImageSmoothKernel(SIGMA_SMTH, NSIGMA_SMTH); // Kernel used for smoothing 105 psKernel *covar = psImageCovarianceCalculate(kernel, readout->covariance); // Covariance matrix 106 psFree(kernel); 107 factor /= psImageCovarianceFactor(covar); 108 psFree(covar); 109 102 110 // record the effective area and significance scaling factor 103 111 float effArea = 8.0 * M_PI * PS_SQR(SIGMA_SMTH);
Note:
See TracChangeset
for help on using the changeset viewer.
