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/ppSimPhotomReadoutForce.c

    r21365 r26900  
    1414# if 0
    1515    // 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)) {
    1717        psError (PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    1818        return false;
     
    3636
    3737    // Generate the mask and variance images, including the user-defined analysis region of interest
    38     psphotSetMaskAndVariance (config, readout, recipe);
     38    psphotSetMaskAndVariance (config, view, recipe);
    3939
    4040    // XXX need to define the source pixels
     
    5858
    5959    // generate a background model (median, smoothed image)
    60     if (!psphotModelBackground (config, view, "PPSIM.FORCE.CHIP")) {
     60    if (!psphotModelBackgroundReadoutFileIndex (config, view, "PPSIM.FORCE.CHIP", 0)) {
    6161        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    6262    }
    63     if (!psphotSubtractBackground (config, view, "PPSIM.FORCE.CHIP")) {
     63    if (!psphotSubtractBackgroundReadout (config, view, "PPSIM.FORCE.CHIP", 0)) {
    6464        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    6565    }
Note: See TracChangeset for help on using the changeset viewer.