IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14852


Ignore:
Timestamp:
Sep 14, 2007, 5:44:03 PM (19 years ago)
Author:
Paul Price
Message:

Adding compile-time option to avoid convolution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackReadout.c

    r14851 r14852  
    1313#define WCS_TOLERANCE 0.001             // Tolerance for WCS
    1414
    15 #define CONVOLUTION_FILES
    16 #define REJECTION_FILES
    17 #define INSPECTION_FILES
     15#define NO_CONVOLUTION                  // Don't perform convolutions?
     16#define CONVOLUTION_FILES               // Write convolutions?
     17#define REJECTION_FILES                 // Write rejection mask?
     18#define INSPECTION_FILES                // Write inspection mask?
    1819
    1920bool ppStackReadout(pmConfig *config, const pmFPAview *view)
     
    8586#endif
    8687        totExposure += exposure;        // Total exposure time
     88
     89#ifdef NO_CONVOLVE
    8790        // Generate convolved version of input
    8891        pmReadout *convolved = pmReadoutAlloc(NULL); // Convolved version of input readout
     
    99102            return false;
    100103        }
     104#else
     105        convolved = psMemIncrRefCounter(ro);
     106#endif
    101107
    102108#ifdef CONVOLUTION_FILES
Note: See TracChangeset for help on using the changeset viewer.