PopulateCalculated bug fix
This commit is contained in:
parent
dc5aaf1cd3
commit
6adbbc1a0b
@ -376,10 +376,10 @@ public partial class ProcessData : IProcessData
|
||||
ReadOnlyCollection<double> thicknessTenPoints = new(thicknessPoints.Take(10).ToArray());
|
||||
double thicknessFourteenCriticalPointsAverage = thicknessTenPoints.Average(); // 15
|
||||
double thicknessFourteenCriticalPointsStdDev = StandardDeviation(thicknessTenPoints); // 16
|
||||
double thicknessFourteenCenterMean = thicknessTenPoints[4]; // 17
|
||||
double thicknessFourteenMeanFrom = new double[] { thicknessTenPoints[3], thicknessTenPoints[4], thicknessTenPoints[5], thicknessTenPoints[6] }.Average(); // 18
|
||||
double thicknessFourteen5mmEdgeMean = new double[] { thicknessTenPoints[0], thicknessTenPoints[1], thicknessTenPoints[8], thicknessTenPoints[9] }.Average(); // 19
|
||||
double thicknessFourteen3mmEdgeMean = new double[] { thicknessTenPoints[10], thicknessTenPoints[13] }.Average(); // 20
|
||||
double thicknessFourteenCenterMean = thicknessPoints[4]; // 17
|
||||
double thicknessFourteenMeanFrom = new double[] { thicknessPoints[3], thicknessPoints[4], thicknessPoints[5], thicknessPoints[6] }.Average(); // 18
|
||||
double thicknessFourteen5mmEdgeMean = new double[] { thicknessPoints[0], thicknessPoints[1], thicknessPoints[8], thicknessPoints[9] }.Average(); // 19
|
||||
double thicknessFourteen3mmEdgeMean = new double[] { thicknessPoints[10], thicknessPoints[13] }.Average(); // 20
|
||||
double thicknessFourteen5mmEdgePercent = (thicknessFourteen5mmEdgeMean - thicknessFourteenMeanFrom) / thicknessFourteenMeanFrom * 100; // 21
|
||||
double thicknessFourteen3mmEdgePercent = (thicknessFourteen3mmEdgeMean - thicknessFourteenMeanFrom) / thicknessFourteenMeanFrom * 100; // 22
|
||||
ThicknessFourteenCriticalPointsAverage = thicknessFourteenCriticalPointsAverage.ToString("0.0000000"); // 15
|
||||
|
Loading…
x
Reference in New Issue
Block a user