IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20618


Ignore:
Timestamp:
Nov 9, 2008, 6:12:49 PM (18 years ago)
Author:
Paul Price
Message:

Adding function to detect remnance (remembered charge from previous exposures)

Location:
trunk/ppImage/src
Files:
3 edited

Legend:

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

    r20444 r20618  
    3131    bool doBias;                        // Bias subtraction
    3232    bool doDark;                        // Dark subtraction
     33    bool doRemnance;                    // Remnance masking
    3334    bool doShutter;                     // Shutter correction
    3435    bool doFlat;                        // Flat-field normalisation
  • trunk/ppImage/src/ppImageDetrendReadout.c

    r18556 r20618  
    7171    }
    7272
     73    if (options->doRemnance) {
     74        if (!pmRemnance(input, options->maskValue, options->badMask)) {
     75            psError(PS_ERR_UNKNOWN, false, "Unable to mask remnance.");
     76            return false;
     77        }
     78    }
     79
    7380    // Shutter correction
    7481    if (options->doShutter) {
  • trunk/ppImage/src/ppImageOptions.c

    r20444 r20618  
    2525    options->doBias          = false;   // Bias subtraction
    2626    options->doDark          = false;   // Dark subtraction
     27    options->doRemnance      = false;   // Remnance masking
    2728    options->doShutter       = false;   // Shutter correction
    2829    options->doFlat          = false;   // Flat-field normalisation
Note: See TracChangeset for help on using the changeset viewer.