IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2023, 10:42:21 AM (3 years ago)
Author:
eugene
Message:

adding new nonlinearity correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ppImage.20230123/src/ppImageOptions.c

    r41918 r42328  
    2828    options->doAuxMask       = false;   // apply auxillary mask
    2929    options->doNonLin        = false;   // Non-linearity correction
     30    options->doNewNonLin     = false;   // New Non-linearity correction (v2023)
    3031    options->doOverscan      = false;   // Overscan subtraction
    3132    options->doNoiseMap      = false;   // Apply Read Noise Map
     
    175176    // XXX PAP: The overscan stuff needs to be updated following the reworked API
    176177
     178    // New Non-linearity (v 2023) recipe options
     179    // non-linearity corrections are loaded from a file defined in the detrend system or on the command-line
     180    if (psMetadataLookupBool(NULL, recipe, "NEWNONLIN")) {
     181        options->doNewNonLin = true;
     182    }
     183
     184    // XXX PAP: The overscan stuff needs to be updated following the reworked API
     185
    177186    // Overscan recipe options
    178187    // XXX EAM : we should abort on invalid options. default options?
Note: See TracChangeset for help on using the changeset viewer.