IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 31, 2008, 5:00:04 PM (18 years ago)
Author:
Paul Price
Message:

Adding relative systematic error for combination when rejecting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackReadout.c

    r19532 r20497  
    9696    int iter = psMetadataLookupS32(NULL, recipe, "ITER"); // Rejection iterations
    9797    float combineRej = psMetadataLookupF32(NULL, recipe, "COMBINE.REJ"); // Combination threshold
     98    float combineSys = psMetadataLookupF32(NULL, recipe, "COMBINE.SYS"); // Combination systematic error
    9899    bool useVariance = psMetadataLookupBool(&mdok, recipe, "VARIANCE"); // Use variance for rejection?
    99100    bool safe = psMetadataLookupBool(&mdok, recipe, "SAFE"); // Be safe when combining small numbers of pixels
     
    133134    }
    134135
    135     if (!pmStackCombine(outRO, stack, maskVal | maskBad, maskBad, kernelSize, iter, combineRej, true,
    136                         useVariance, safe)) {
     136    if (!pmStackCombine(outRO, stack, maskVal | maskBad, maskBad, kernelSize, iter, combineRej, combineSys,
     137                        true, useVariance, safe)) {
    137138        psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts with rejection.");
    138139        psFree(stack);
Note: See TracChangeset for help on using the changeset viewer.