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/ppStack/src/ppStackLoop.c

    r14007 r14404  
    88#include <psmodules.h>
    99#include <ppStats.h>
     10#include <psphot.h>
    1011
    1112#include "ppStack.h"
     
    3738        return false;
    3839    }
     40
     41    bool doPhotom = psMetadataLookupBool(&mdok, config->arguments, "PHOTOM"); // perform photometry
    3942
    4043    pmFPAview *view = pmFPAviewAlloc(0); // Pointer into FPA hierarchy
     
    8083                }
    8184
     85                if (doPhotom) {
     86                  if (!psphotReadout (config, view)) {
     87                    psError(psErrorCodeLast(), false, "failure in psphotReadout for stacked image\n");
     88                    return false;
     89                  }
     90                }
     91
    8292                if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    8393                    return false;
Note: See TracChangeset for help on using the changeset viewer.