Changeset 20518 for trunk/ppSub/src/ppSubReadout.c
- Timestamp:
- Nov 3, 2008, 3:36:11 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubReadout.c
r20516 r20518 338 338 #endif 339 339 340 outRO->mask = (psImage*)psBinaryOp(outRO->mask, inConv->mask, "|", refConv->mask);341 outRO->data_exists = outCell->data_exists = outCell->parent->data_exists = true; // It'll be there soon342 343 340 // Photometry is to be performed in two stages: 344 341 // 1. Measure the PSF using the PSF-matched images … … 353 350 outRO->weight = psImageCopy(outRO->weight, minuend->weight, PS_TYPE_F32); 354 351 } 352 outRO->mask = psImageCopy(outRO->mask, minuend->mask, PS_TYPE_MASK); 355 353 356 354 pmFPAfile *photFile = psMetadataLookupPtr(NULL, config->files, "PSPHOT.INPUT"); … … 409 407 outRO->weight = (psImage*)psBinaryOp(outRO->weight, inConv->weight, "+", refConv->weight); 410 408 } 409 outRO->mask = (psImage*)psBinaryOp(outRO->mask, inConv->mask, "|", refConv->mask); 410 411 411 outRO->data_exists = outCell->data_exists = outCell->parent->data_exists = true; 412 412 … … 434 434 if (psMetadataLookupBool(&mdok, recipe, "RENORM")) { 435 435 // Statistics for renormalisation 436 psStatsOptions renormMean = psStatsOptionFromString(psMetadataLookupStr( &mdok, recipe,436 psStatsOptions renormMean = psStatsOptionFromString(psMetadataLookupStr(NULL, recipe, 437 437 "RENORM.MEAN")); 438 psStatsOptions renormStdev = psStatsOptionFromString(psMetadataLookupStr( &mdok, recipe,438 psStatsOptions renormStdev = psStatsOptionFromString(psMetadataLookupStr(NULL, recipe, 439 439 "RENORM.STDEV")); 440 440 if (renormMean == PS_STAT_NONE || renormStdev == PS_STAT_NONE) {
Note:
See TracChangeset
for help on using the changeset viewer.
