Changeset 21525 for trunk/ppStack/src/ppStackLoop.c
- Timestamp:
- Feb 17, 2009, 3:38:42 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r21477 r21525 1151 1151 psLogMsg("ppStack", PS_LOG_INFO, "Stage 7 : WCS & JPEGS : %f sec", psTimerClear("PPSTACK_STEPS")); 1152 1152 1153 if (psMetadataLookupBool(&mdok, recipe, "RENORM")) {1154 // Statistics for renormalisation1155 psStatsOptions renormMean = psStatsOptionFromString(psMetadataLookupStr(&mdok, recipe,1156 "RENORM.MEAN"));1157 psStatsOptions renormStdev = psStatsOptionFromString(psMetadataLookupStr(&mdok, recipe,1158 "RENORM.STDEV"));1159 int renormNum = psMetadataLookupS32(&mdok, recipe, "RENORM.NUM"); // Number of samples1160 float renormWidth = psMetadataLookupS32(&mdok, recipe, "RENORM.WIDTH"); // Width of Gaussian phot1161 psImageMaskType maskValue = pmConfigMaskGet("BLANK", config); // Bits to mask1162 if (!pmReadoutVarianceRenormPhot(outRO, maskValue, renormNum, renormWidth,1163 renormMean, renormStdev, NULL)) {1164 psError(PS_ERR_UNKNOWN, false, "Unable to renormalise variances.");1165 psFree(outRO);1166 return false;1167 }1168 }1169 1170 psLogMsg("ppStack", PS_LOG_INFO, "Stage 8 : Photometry Renormalization : %f sec", psTimerClear("PPSTACK_STEPS"));1171 1172 1153 if (psMetadataLookupBool(&mdok, recipe, "PHOTOMETRY")) { 1173 1154 psTrace("ppStack", 1, "Photometering stacked image....\n"); … … 1199 1180 } 1200 1181 1201 psLogMsg("ppStack", PS_LOG_INFO, "Stage 9: Photometry Analysis : %f sec", psTimerClear("PPSTACK_STEPS"));1182 psLogMsg("ppStack", PS_LOG_INFO, "Stage 8 : Photometry Analysis : %f sec", psTimerClear("PPSTACK_STEPS")); 1202 1183 1203 1184 psThreadPoolFinalize(); … … 1254 1235 } 1255 1236 1256 psLogMsg("ppStack", PS_LOG_INFO, "Stage 10: Final Output : %f sec", psTimerClear("PPSTACK_STEPS"));1237 psLogMsg("ppStack", PS_LOG_INFO, "Stage 9 : Final Output : %f sec", psTimerClear("PPSTACK_STEPS")); 1257 1238 1258 1239 memDump("finish");
Note:
See TracChangeset
for help on using the changeset viewer.
