IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2009, 12:45:24 PM (17 years ago)
Author:
eugene
Message:

update from mainline

Location:
branches/eam_branches/20090715
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715

  • branches/eam_branches/20090715/ppImage/src/ppImageOptions.c

    r24485 r25022  
    3131    options->doShutter       = false;   // Shutter correction
    3232    options->doFlat          = false;   // Flat-field normalisation
     33    options->doPattern       = false;   // Pattern noise subtraction
    3334    options->doFringe        = false;   // Fringe subtraction
    3435    options->doPhotom        = false;   // Source identification and photometry
     
    8687    options->fringeIter      = 0;       // Fringe iterations
    8788    options->fringeKeep      = 1.0;     // Fringe keep fraction
     89
     90    // Pattern noise values
     91
     92    options->patternOrder    = 0;       // Polynomial order
     93    options->patternIter     = 0;       // Clipping iterations
     94    options->patternRej      = NAN;     // Clipping rejection threshold
     95    options->patternThresh   = NAN;     // Threshold for ignoring pixels
     96    options->patternMean     = PS_STAT_NONE; // Statistic for mean
     97    options->patternStdev    = PS_STAT_NONE; // Statistic for standard deviation
    8898
    8999    // Remnance values
     
    225235    options->doFringe = psMetadataLookupBool(NULL, recipe, "FRINGE");
    226236    options->doShutter = psMetadataLookupBool(NULL, recipe, "SHUTTER");
     237    options->doPattern = psMetadataLookupBool(NULL, recipe, "PATTERN");
    227238
    228239    options->doStats = false;
     
    298309    options->fringeKeep = psMetadataLookupF32(NULL, recipe, "FRINGE.KEEP");
    299310
     311    // Pattern noise
     312    options->patternOrder = psMetadataLookupS32(NULL, recipe, "PATTERN.ORDER");
     313    options->patternIter = psMetadataLookupS32(NULL, recipe, "PATTERN.ITER");
     314    options->patternRej = psMetadataLookupF32(NULL, recipe, "PATTERN.REJ");
     315    options->patternThresh = psMetadataLookupF32(NULL, recipe, "PATTERN.THRESH");
     316    options->patternMean = psStatsOptionFromString(psMetadataLookupStr(NULL, recipe, "PATTERN.MEAN"));
     317    options->patternStdev = psStatsOptionFromString(psMetadataLookupStr(NULL, recipe, "PATTERN.STDEV"));
     318
    300319    // Remnance options
    301320    options->remnanceSize = psMetadataLookupF32(NULL, recipe, "REMNANCE.SIZE");
Note: See TracChangeset for help on using the changeset viewer.