IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2008, 8:42:47 PM (18 years ago)
Author:
Paul Price
Message:

Adding remnance options to recipe.

File:
1 edited

Legend:

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

    r20618 r20626  
    7777    options->fringeKeep      = 1.0;     // Fringe keep fraction
    7878
     79    // Remnance values
     80    options->remnanceSize    = 30;      // Size for remnance detection
     81    options->remnanceThresh  = 25.0;    // Threshold for remnance detection
     82
    7983    return options;
    8084}
     
    197201    options->doBias = psMetadataLookupBool(NULL, recipe, "BIAS");
    198202    options->doDark = psMetadataLookupBool(NULL, recipe, "DARK");
     203    options->doRemnance = psMetadataLookupBool(NULL, recipe, "REMNANCE");
    199204    options->doFlat = psMetadataLookupBool(NULL, recipe, "FLAT");
    200205    options->doFringe = psMetadataLookupBool(NULL, recipe, "FRINGE");
     
    269274    options->fringeKeep = psMetadataLookupF32(NULL, recipe, "FRINGE.KEEP");
    270275
     276    // Remnance options
     277    options->remnanceSize = psMetadataLookupF32(NULL, recipe, "REMNANCE.SIZE");
     278    options->remnanceThresh = psMetadataLookupS32(NULL, recipe, "REMNANCE.THRESH");
    271279
    272280    return options;
Note: See TracChangeset for help on using the changeset viewer.