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

    r25982 r26542  
    1919
    2020    // set the photcode for this image
    21     if (!psphotAddPhotcode (recipe, config, view, "PSPHOT.INPUT")) {
     21    if (!psphotAddPhotcode (config, view)) {
    2222        psError (PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    2323        return false;
     
    3333
    3434    // Generate the mask and weight images, including the user-defined analysis region of interest
    35     psphotSetMaskAndVariance (config, readout, recipe);
     35    psphotSetMaskAndVariance (config, view, recipe);
    3636    if (!strcasecmp (breakPt, "NOTHING")) {
    3737        return psphotReadoutCleanup(config, readout, recipe, NULL, NULL, NULL);
     
    4242
    4343    // generate a background model (median, smoothed image)
    44     if (!psphotModelBackground (config, view, "PSPHOT.INPUT")) {
     44    if (!psphotModelBackground (config, view)) {
    4545        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    4646    }
    47     if (!psphotSubtractBackground (config, view, "PSPHOT.INPUT")) {
     47    if (!psphotSubtractBackground (config, view)) {
    4848        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL, NULL);
    4949    }
Note: See TracChangeset for help on using the changeset viewer.