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

    r25755 r26542  
    2828
    2929    // set the photcode for this image
    30     if (!psphotAddPhotcode (recipe, config, view, "PSPHOT.INPUT")) {
     30    if (!psphotAddPhotcode (config, view)) {
    3131        psError (PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    3232        return false;
     
    4242
    4343    // Generate the mask and weight images, including the user-defined analysis region of interest
    44     psphotSetMaskAndVariance (config, readout, recipe);
     44    psphotSetMaskAndVariance (config, view, recipe);
    4545    if (!strcasecmp (breakPt, "NOTHING")) {
    4646        return psphotReadoutCleanup(config, readout, recipe, NULL, NULL, NULL);
     
    5151
    5252    // generate a background model (median, smoothed image)
    53     if (!psphotModelBackground (config, view, "PSPHOT.INPUT")) {
     53    if (!psphotModelBackground (config, view)) {
    5454        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    5555    }
    56     if (!psphotSubtractBackground (config, view, "PSPHOT.INPUT")) {
     56    if (!psphotSubtractBackground (config, view)) {
    5757        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    5858    }
Note: See TracChangeset for help on using the changeset viewer.