Changeset 41931
- Timestamp:
- Nov 23, 2021, 9:10:29 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/ppStack/src/ppStackReadout.c
r41920 r41931 382 382 383 383 bool mdok; // Status of MD lookup 384 psF64 minRange = psMetadataLookupF32(&mdok, recipe, "COMBINE.MIN.RANGE"); // Combination threshold384 psF64 rejectFraction = psMetadataLookupF32(&mdok, recipe, "COMBINE.REJECT.FRACTION"); // fraction of outliers to reject 385 385 386 386 char defaultBlankStr[16] = "BLANK"; … … 404 404 405 405 for (int i = 0; i < num; i++) { 406 stackData->data[i] = NULL; 407 406 408 pmReadout *ro = readouts->data[i]; 407 409 if (!ro || mask->data.PS_TYPE_VECTOR_MASK_DATA[i]) { … … 420 422 } 421 423 422 if (!pmStackCombineByPercentile(outRO, expRO, stackData, minRange, maskBad, maskSuspect, maskBlank)) {424 if (!pmStackCombineByPercentile(outRO, expRO, stackData, rejectFraction, maskBad, maskSuspect, maskBlank)) { 423 425 psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts with rejection."); 424 426 psFree(stackData);
Note:
See TracChangeset
for help on using the changeset viewer.
