Changeset 20494 for trunk/ppStack/src/ppStackLoop.c
- Timestamp:
- Oct 31, 2008, 4:05:48 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackLoop.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r20467 r20494 1022 1022 } 1023 1023 1024 if (psMetadataLookupBool(&mdok, recipe, "RENORM")) { 1025 // Statistics for renormalisation 1026 psStatsOptions renormMean = psStatsOptionFromString(psMetadataLookupStr(&mdok, recipe, 1027 "RENORM.MEAN")); 1028 psStatsOptions renormStdev = psStatsOptionFromString(psMetadataLookupStr(&mdok, recipe, 1029 "RENORM.STDEV")); 1030 int renormNum = psMetadataLookupS32(&mdok, recipe, "RENORM.NUM"); // Number of samples 1031 float renormWidth = psMetadataLookupS32(&mdok, recipe, "RENORM.WIDTH"); // Width of Gaussian phot 1032 psMaskType maskValue = pmConfigMaskGet("BLANK", config); // Bits to mask 1033 if (!pmReadoutWeightRenormPhot(outRO, maskValue, renormNum, renormWidth, 1034 renormMean, renormStdev, NULL)) { 1035 psError(PS_ERR_UNKNOWN, false, "Unable to renormalise variances."); 1036 psFree(outRO); 1037 return false; 1038 } 1039 } 1040 1024 1041 if (psMetadataLookupBool(&mdok, recipe, "PHOTOMETRY")) { 1025 1042 psTrace("ppStack", 1, "Photometering stacked image....\n");
Note:
See TracChangeset
for help on using the changeset viewer.
