- Timestamp:
- Jan 7, 2010, 5:37:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ppSim/src/ppSimPhotomReadout.c
r21183 r26543 39 39 # if 0 40 40 // set the photcode for this image 41 if (!psphotAddPhotcode (recipe, config, view, "PPSIM.CHIP")) {41 if (!psphotAddPhotcodeReadout (recipe, config, view, "PPSIM.CHIP", 0)) { 42 42 psError (PSPHOT_ERR_CONFIG, false, "trouble defining the photcode"); 43 43 return false; … … 74 74 75 75 // Generate the mask and weight images, including the user-defined analysis region of interest 76 psphotSetMaskAndWeight (config, readout, recipe);76 psphotSetMaskAndWeight (config, view, recipe); 77 77 78 78 // load the psf model, if suppled. FWHM_X,FWHM_Y,etc are saved in the recipe … … 85 85 86 86 // generate a background model (median, smoothed image) 87 if (!psphotModelBackground (config, view, "PPSIM.CHIP")) {87 if (!psphotModelBackgroundReadoutFileIndex (config, view, "PPSIM.CHIP", 0)) { 88 88 return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL); 89 89 } 90 if (!psphotSubtractBackground (config, view, "PPSIM.CHIP")) {90 if (!psphotSubtractBackgroundReadout (config, view, "PPSIM.CHIP", 0)) { 91 91 return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL); 92 92 }
Note:
See TracChangeset
for help on using the changeset viewer.
