Changeset 34266 for trunk/psphot/src/psphotStackReadout.c
- Timestamp:
- Jul 31, 2012, 6:17:31 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotStackReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotStackReadout.c
r34226 r34266 416 416 psphotMagnitudes(config, view, STACK_SRC); 417 417 418 // XXX NOTE: this function wants to have the PSF of the image, but we (so far) only measure the 419 // PSF of the SRC image. can we fake it by generating the PSF for DET as well (up above)? 420 if (false && !psphotEfficiency(config, view, STACK_DET)) { 418 if (!useRaw) { 419 // psphotEfficiency wants to have the PSF of the image, but since we are measuring on 420 // the convolved images we need to generate PSFs for the DET images 421 if (!psphotChoosePSF (config, view, STACK_DET, false)) { // pass 1 422 psLogMsg ("psphot", 3, "failure to construct a psf model for raw input"); 423 return psphotReadoutCleanup (config, view, STACK_DET); 424 } 425 } 426 if (!psphotEfficiency(config, view, STACK_DET)) { 421 427 psErrorStackPrint(stderr, "Unable to determine detection efficiencies from fake sources"); 422 428 psErrorClear(); 423 429 } 430 psphotCopyEfficiency (config, view, STACK_OUT, STACK_DET); 424 431 425 432 // replace failed sources?
Note:
See TracChangeset
for help on using the changeset viewer.
