IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2026, 9:38:40 PM (2 months ago)
Author:
eugene
Message:

add code to mask bad cells based on their overscan values compared with a reference table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageOptions.c

    r42890 r43038  
    2929    options->doNonLin        = false;   // Non-linearity correction
    3030    options->doNewNonLin     = false;   // New Non-linearity correction (v2023)
     31    options->doMaskBadOverscan = false; // Mask cells / readouts if overscan is out of bounds
    3132    options->doOverscan      = false;   // Overscan subtraction
    3233    options->doNoiseMap      = false;   // Apply Read Noise Map
     
    182183    }
    183184
     185    // Mask cells/readouts with out-of-range overscan
     186    // nominal overscan ranges are loaded from a file defined in the detrend system or on the command-line
     187    if (psMetadataLookupBool(NULL, recipe, "MASK.BAD.OVERSCAN")) {
     188        options->doMaskBadOverscan = true;
     189    }
     190
    184191    // XXX PAP: The overscan stuff needs to be updated following the reworked API
    185192
Note: See TracChangeset for help on using the changeset viewer.