IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2007, 9:32:53 AM (19 years ago)
Author:
eugene
Message:

adding calls to psphotReadout, related options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubLoop.c

    r14296 r14404  
    88#include <psmodules.h>
    99#include <ppStats.h>
     10#include <psphot.h>
    1011
    1112#include "ppSub.h"
     
    5354    }
    5455
     56    bool doPhotom = false;
     57    if (psMetadataLookup(config->arguments, "PSPHOT.PSF")) {
     58        doPhotom = true;
     59    }
     60   
    5561    pmFPAview *view = pmFPAviewAlloc(0); // Pointer into FPA hierarchy
    5662    pmHDU *lastHDU = NULL;              // Last HDU that was updated
     
    129135                }
    130136
     137                if (doPhotom) {
     138                  if (!psphotReadout (config, view)) {
     139                    psError(psErrorCodeLast(), false, "failure in psphotReadout for stacked image\n");
     140                    return false;
     141                  }
     142                }
     143
    131144                if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    132145                    return false;
Note: See TracChangeset for help on using the changeset viewer.