Changeset 28121 for trunk/ppSub/src/ppSubVarianceRescale.c
- Timestamp:
- May 26, 2010, 3:53:34 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubVarianceRescale.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubVarianceRescale.c
r27317 r28121 22 22 #include "ppSub.h" 23 23 24 bool ppSubVarianceRescale(pmConfig *config )24 bool ppSubVarianceRescale(pmConfig *config, ppSubData *data) 25 25 { 26 26 psAssert(config, "Require configuration"); … … 60 60 } 61 61 62 return pmReadoutVarianceRenormalise(readout, maskBad, num, minValid, maxValid); 62 if (!pmReadoutVarianceRenormalise(readout, maskBad, num, minValid, maxValid)) { 63 psErrorStackPrint(stderr, "Unable to renormalise variances"); 64 psWarning("Unable to renormalise variances --- suspect bad data quality."); 65 // Allow the convolved and subtracted images to be written 66 ppSubDataQuality(data, PPSUB_ERR_VARIANCE, 67 PPSUB_FILES_INPUT | PPSUB_FILES_PHOT_SUB | PPSUB_FILES_PHOT_INV | 68 PPSUB_FILES_PSF | PPSUB_FILES_PHOT); 69 } 70 71 return true; 63 72 }
Note:
See TracChangeset
for help on using the changeset viewer.
