IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 7, 2010, 5:37:07 PM (16 years ago)
Author:
eugene
Message:

update to use new PSPHOT.INPUT handling code which allows multiple images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ppSim/src/ppSimPhotomReadoutFake.c

    r21365 r26543  
    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
     
    6565
    6666    // generate a background model (median, smoothed image)
    67     if (!psphotModelBackground (config, view, "PPSIM.FAKE.CHIP")) {
     67    if (!psphotModelBackgroundReadoutFileIndex (config, view, "PPSIM.FAKE.CHIP", 0)) {
    6868        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    6969    }
    70     if (!psphotSubtractBackground (config, view, "PPSIM.FAKE.CHIP")) {
     70    if (!psphotSubtractBackgroundReadout (config, view, "PPSIM.FAKE.CHIP", 0)) {
    7171        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    7272    }
Note: See TracChangeset for help on using the changeset viewer.