IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2010, 7:42:33 PM (16 years ago)
Author:
eugene
Message:

updates from eam_branches/20091201

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimPhotomReadout.c

    r21183 r26900  
    3939# if 0   
    4040    // set the photcode for this image
    41     if (!psphotAddPhotcode (recipe, config, view, "PPSIM.CHIP")) {
     41    if (!psphotAddPhotcodeReadout (recipe, config, view, "PPSIM.CHIP", 0)) {
    4242        psError (PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    4343        return false;
     
    7474
    7575    // Generate the mask and weight images, including the user-defined analysis region of interest
    76     psphotSetMaskAndWeight (config, readout, recipe);
     76    psphotSetMaskAndWeight (config, view, recipe);
    7777
    7878    // load the psf model, if suppled.  FWHM_X,FWHM_Y,etc are saved in the recipe
     
    8585
    8686    // generate a background model (median, smoothed image)
    87     if (!psphotModelBackground (config, view, "PPSIM.CHIP")) {
     87    if (!psphotModelBackgroundReadoutFileIndex (config, view, "PPSIM.CHIP", 0)) {
    8888        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    8989    }
    90     if (!psphotSubtractBackground (config, view, "PPSIM.CHIP")) {
     90    if (!psphotSubtractBackgroundReadout (config, view, "PPSIM.CHIP", 0)) {
    9191        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    9292    }
Note: See TracChangeset for help on using the changeset viewer.