IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2009, 4:36:52 PM (17 years ago)
Author:
Paul Price
Message:

Merging pap_branch_20090128. Resolved a small number of conflicts. Compiles, but not tested in detail.

File:
1 edited

Legend:

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

    r20626 r21364  
    1919    // actions which ppImage should perform
    2020    options->doMaskBuild     = false;   // Build internal mask
    21     options->doWeightBuild   = false;   // Build internal weight
     21    options->doVarianceBuild   = false;   // Build internal variance
    2222    options->doMask          = false;   // Mask bad pixels
    2323    options->doNonLin        = false;   // Non-linearity correction
     
    3737    options->BaseFITS        = false;   // create output image
    3838    options->BaseMaskFITS    = false;   // create output mask image
    39     options->BaseWeightFITS  = false;   // create output weight image
     39    options->BaseVarianceFITS  = false;   // create output variance image
    4040
    4141    options->ChipFITS        = false;   // create output chip-mosaic image
    4242    options->ChipMaskFITS    = false;   // create output chip-mosaic mask image
    43     options->ChipWeightFITS  = false;   // create output chip-mosaic weight image
     43    options->ChipVarianceFITS  = false;   // create output chip-mosaic variance image
    4444
    4545    options->FPA1FITS        = false;   // create fpa-mosaic binned image (scale 1)
     
    194194    // for these images, even if not required otherwise
    195195    options->doMaskBuild = psMetadataLookupBool(NULL, recipe, "MASK.BUILD");
    196     options->doWeightBuild = psMetadataLookupBool(NULL, recipe, "WEIGHT.BUILD");
     196    options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD");
    197197
    198198    // Mask recipe options (note that mask bit values are set in ppImageSetMaskBits.c)
     
    236236    options->BaseFITS       = psMetadataLookupBool(NULL, recipe, "BASE.FITS");
    237237    options->BaseMaskFITS   = psMetadataLookupBool(NULL, recipe, "BASE.MASK.FITS");
    238     options->BaseWeightFITS = psMetadataLookupBool(NULL, recipe, "BASE.WEIGHT.FITS");
     238    options->BaseVarianceFITS = psMetadataLookupBool(NULL, recipe, "BASE.VARIANCE.FITS");
    239239
    240240    options->ChipFITS       = psMetadataLookupBool(NULL, recipe, "CHIP.FITS");
    241241    options->ChipMaskFITS   = psMetadataLookupBool(NULL, recipe, "CHIP.MASK.FITS");
    242     options->ChipWeightFITS = psMetadataLookupBool(NULL, recipe, "CHIP.WEIGHT.FITS");
     242    options->ChipVarianceFITS = psMetadataLookupBool(NULL, recipe, "CHIP.VARIANCE.FITS");
    243243
    244244    options->FPA1FITS       = psMetadataLookupBool(NULL, recipe, "FPA1.FITS");
     
    255255    options->doBG           = psMetadataLookupBool(NULL, recipe, "BACKGROUND");
    256256
    257     // even if not requested explicitly, if any of these are set, build an internal mask and weight:
     257    // even if not requested explicitly, if any of these are set, build an internal mask and variance:
    258258    if (options->doBias || options->doOverscan || options->doDark || options->doShutter || options->doFlat ||
    259259        options->doPhotom) {
    260260        options->doMaskBuild = true;
    261         options->doWeightBuild = true;
     261        options->doVarianceBuild = true;
    262262    } else if (options->doMask || options->doBG) {
    263263        options->doMaskBuild = true;
Note: See TracChangeset for help on using the changeset viewer.