- Timestamp:
- Jan 7, 2010, 5:37:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ppSim/src/ppSimPhotomReadoutFake.c
r21365 r26543 14 14 # if 0 15 15 // set the photcode for this image 16 if (!psphotAddPhotcode (recipe, config, view, "PPSIM.FAKE.CHIP")) {16 if (!psphotAddPhotcodeReadout (recipe, config, view, "PPSIM.FAKE.CHIP", 0)) { 17 17 psError (PSPHOT_ERR_CONFIG, false, "trouble defining the photcode"); 18 18 return false; … … 36 36 37 37 // Generate the mask and variance images, including the user-defined analysis region of interest 38 psphotSetMaskAndVariance (config, readout, recipe);38 psphotSetMaskAndVariance (config, view, recipe); 39 39 40 40 // XXX need to define the source pixels … … 65 65 66 66 // generate a background model (median, smoothed image) 67 if (!psphotModelBackground (config, view, "PPSIM.FAKE.CHIP")) {67 if (!psphotModelBackgroundReadoutFileIndex (config, view, "PPSIM.FAKE.CHIP", 0)) { 68 68 return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL); 69 69 } 70 if (!psphotSubtractBackground (config, view, "PPSIM.FAKE.CHIP")) {70 if (!psphotSubtractBackgroundReadout (config, view, "PPSIM.FAKE.CHIP", 0)) { 71 71 return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL); 72 72 }
Note:
See TracChangeset
for help on using the changeset viewer.
