Changeset 20497 for trunk/ppStack
- Timestamp:
- Oct 31, 2008, 5:00:04 PM (18 years ago)
- Location:
- trunk/ppStack/src
- Files:
-
- 2 edited
-
ppStackArguments.c (modified) (2 diffs)
-
ppStackReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackArguments.c
r20494 r20497 145 145 psMetadataAddF32(arguments, PS_LIST_TAIL, "-combine-rej", 0, 146 146 "Combination rejection thresold (sigma)", NAN); 147 psMetadataAddF32(arguments, PS_LIST_TAIL, "-combine-sys", 0, 148 "Relative systematic error in combination", NAN); 147 149 psMetadataAddStr(arguments, PS_LIST_TAIL, "-mask-val", 0, "Mask value of input bad pixels", NULL); 148 150 psMetadataAddStr(arguments, PS_LIST_TAIL, "-mask-bad", 0, "Mask value to give bad pixels", NULL); … … 226 228 VALUE_ARG_RECIPE_INT("-iter", "ITER", S32, 0); 227 229 VALUE_ARG_RECIPE_FLOAT("-combine-rej", "COMBINE.REJ", F32); 230 VALUE_ARG_RECIPE_FLOAT("-combine-sys", "COMBINE.SYS", F32); 228 231 VALUE_ARG_RECIPE_FLOAT("-threshold-mask", "THRESHOLD.MASK", F32); 229 232 VALUE_ARG_RECIPE_FLOAT("-image-rej", "IMAGE.REJ", F32); -
trunk/ppStack/src/ppStackReadout.c
r19532 r20497 96 96 int iter = psMetadataLookupS32(NULL, recipe, "ITER"); // Rejection iterations 97 97 float combineRej = psMetadataLookupF32(NULL, recipe, "COMBINE.REJ"); // Combination threshold 98 float combineSys = psMetadataLookupF32(NULL, recipe, "COMBINE.SYS"); // Combination systematic error 98 99 bool useVariance = psMetadataLookupBool(&mdok, recipe, "VARIANCE"); // Use variance for rejection? 99 100 bool safe = psMetadataLookupBool(&mdok, recipe, "SAFE"); // Be safe when combining small numbers of pixels … … 133 134 } 134 135 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)) { 137 138 psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts with rejection."); 138 139 psFree(stack);
Note:
See TracChangeset
for help on using the changeset viewer.
