- Timestamp:
- Jun 10, 2010, 6:28:51 PM (16 years ago)
- Location:
- branches/czw_branch/20100519
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSub/src/ppSubVarianceRescale.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100519
- Property svn:mergeinfo changed
-
branches/czw_branch/20100519/ppSub/src/ppSubVarianceRescale.c
r27317 r28304 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.
