Changeset 25379 for trunk/psModules/src/camera/pmFPAMaskWeight.c
- Timestamp:
- Sep 14, 2009, 5:15:48 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.c
r25377 r25379 421 421 psFree(signoise); 422 422 423 float correction = 1.0 / stats->robustStdev; // Correction factor 423 float covar = sqrtf(psImageCovarianceFactor(readout->covariance)); // Covariance factor 424 float correction = stats->robustStdev / covar; // Correction factor 424 425 psFree(stats); 425 426 psLogMsg("psModules.camera", PS_LOG_DETAIL, "Variance renormalisation factor is %f", correction); … … 440 441 PS_SQR(correction), correction); 441 442 psMetadataAddStr(hdu->header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK, NULL, history); 443 psFree(history); 442 444 } 443 445
Note:
See TracChangeset
for help on using the changeset viewer.
