IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

upgrade psphot functions to work in the stack context (see doc/stack.txt)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psphot/src/psphotForcedReadout.c

    r25981 r26542  
    2020
    2121    // set the photcode for this image
    22     if (!psphotAddPhotcode (recipe, config, view, "PSPHOT.INPUT")) {
     22    if (!psphotAddPhotcode (config, view)) {
    2323        psError (PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    2424        return false;
     
    3434
    3535    // Generate the mask and weight images, including the user-defined analysis region of interest
    36     psphotSetMaskAndVariance (config, readout, recipe);
     36    psphotSetMaskAndVariance (config, view, recipe);
    3737    if (!strcasecmp (breakPt, "NOTHING")) {
    3838        return psphotReadoutCleanup(config, readout, recipe, NULL, NULL, NULL);
     
    4343
    4444    // generate a background model (median, smoothed image)
    45     if (!psphotModelBackground (config, view, "PSPHOT.INPUT")) {
     45    if (!psphotModelBackground (config, view)) {
    4646        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    4747    }
    48     if (!psphotSubtractBackground (config, view, "PSPHOT.INPUT")) {
     48    if (!psphotSubtractBackground (config, view)) {
    4949        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    5050    }
Note: See TracChangeset for help on using the changeset viewer.