IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 13, 2007, 5:41:04 PM (19 years ago)
Author:
eugene
Message:

adding options for mask and weight outputs, some cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImage.h

    r14000 r14209  
    2121// Options for ppImage processing
    2222typedef struct {
     23    // actions which ppImage should perform
    2324    bool doMask;                        // Mask bad pixels
    24     psMaskType maskValue;               // apply this bit-mask to choose masked bits
    25     psMaskType satMask;                 // Mask value to give saturated pixels
    26     psMaskType badMask;                 // Mask value to give bad pixels
    27     psMaskType flatMask;                // Mask value to give bad flat pixels
    28     psMaskType blankMask;               // Mask value to give blank pixels
    29 
     25    bool doNonLin;                      // Non-linearity correction
     26    bool doOverscan;                    // Overscan subtraction
    3027    bool doBias;                        // Bias subtraction
    3128    bool doDark;                        // Dark subtraction
     
    3633    bool doAstromChip;                  // per-chip Astrometry
    3734    bool doAstromMosaic;                // full-mosaic Astrometry
    38     bool doAddstar;                     // add results to object database?
     35    bool doStats;                       // call ppStats on the image
    3936
    40     bool doOverscan;                    // Overscan subtraction
    41     pmOverscanOptions *overscan;        // Overscan options
     37    // output files requested
     38    bool BaseFITS;
     39    bool BaseMaskFITS;
     40    bool BaseWeightFITS;
    4241
    43     bool doNonLin;                      // Non-linearity correction
     42    bool ChipFITS;
     43    bool ChipMaskFITS;
     44    bool ChipWeightFITS;
     45
     46    bool FPA1FITS;
     47    bool FPA2FITS;
     48    bool Bin1FITS;
     49    bool Bin1JPEG;
     50    bool Bin2FITS;
     51    bool Bin2JPEG;
     52
     53    // make values for abstract concepts of masking
     54    psMaskType maskValue;               // apply this bit-mask to choose masked bits
     55    psMaskType satMask;                 // Mask value to give saturated pixels
     56    psMaskType badMask;                 // Mask value to give bad pixels
     57    psMaskType flatMask;                // Mask value to give bad flat pixels
     58    psMaskType blankMask;               // Mask value to give blank pixels
     59
     60    // non-linear correction parameters
    4461    psDataType nonLinearType;
    4562    psMetadataItem *nonLinearData;
    4663    void *nonLinearSource;
    4764
    48     bool doStats;
     65    // options for the analysis
     66    pmOverscanOptions *overscan;        // Overscan options
    4967
    50     bool BaseFITS;
    51     bool ChipFITS;
    52     bool FPA1FITS;
    53     bool FPA2FITS;
     68    // binning parameters
     69    int xBin1;                          // x-binning, scale 1
     70    int yBin1;                          // y-binning, scale 1
     71    int xBin2;                          // x-binning, scale 2
     72    int yBin2;                          // y-binning, scale 2
    5473
    55     bool Bin1FITS;
    56     bool Bin1JPEG;
    57     int xBin1, yBin1;
    58 
    59     bool Bin2FITS;
    60     bool Bin2JPEG;
    61     int xBin2, yBin2;
    62 
     74    // parameters used by the fringe analysis
    6375    float fringeRej;                    // Fringe rejection limit
    6476    int fringeIter;                     // Fringe iterations
    6577    float fringeKeep;                   // Fringe keep fraction
     78
    6679} ppImageOptions;
    6780
Note: See TracChangeset for help on using the changeset viewer.