- Timestamp:
- Jun 7, 2014, 5:36:39 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140423/ppStack/src/ppStackReadout.c
r36610 r36826 116 116 bool useVariance = psMetadataLookupBool(&mdok, recipe, "VARIANCE"); // Use variance for rejection? 117 117 bool safe = psMetadataLookupBool(&mdok, recipe, "SAFE"); // Be safe when combining small numbers of pixels 118 119 int nminpix = psMetadataLookupS32(&mdok, recipe, "NMINPIX"); // Minimum input per pixel to combine with 118 120 119 121 psMetadata *ppsub = psMetadataLookupMetadata(NULL, config->recipes, "PPSUB"); // PPSUB recipe … … 161 163 162 164 if (!pmStackCombine(outRO, NULL, stack, maskBad, maskSuspect, maskBlank, kernelSize, iter, 163 combineRej, combineSys, combineDiscard, useVariance, safe, false)) {165 combineRej, combineSys, combineDiscard, useVariance, safe, nminpix, false)) { 164 166 psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts with rejection."); 165 167 psFree(stack); … … 218 220 bool useVariance = psMetadataLookupBool(&mdok, recipe, "VARIANCE"); // Use variance for rejection? 219 221 bool safe = psMetadataLookupBool(&mdok, recipe, "SAFE"); // Be safe when combining small numbers of pixels 222 223 int nminpix = psMetadataLookupS32(&mdok, recipe, "NMINPIX"); // Minimum input per pixel to combine with 220 224 221 225 psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.VAL"); // Name of bits to mask for bad … … 275 279 276 280 if (!pmStackCombine(outRO, expRO, stack, maskBad, maskSuspect, maskBlank, 0, iter, combineRej, 277 combineSys, combineDiscard, useVariance, safe, rejected)) {281 combineSys, combineDiscard, useVariance, safe, nminpix, rejected)) { 278 282 psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts."); 279 283 psFree(stack);
Note:
See TracChangeset
for help on using the changeset viewer.
