void CalculateCharacteristic()
        {
            double[] masY = unLinearityCurve.PointPairListGetY();
            textBoxDnlMean.Text = MasFunctions.CalculateMean(masY).ToString();
            textBoxDnlMax.Text  = MasFunctions.GetMaxAbs(masY).ToString();

            textBoxInl.Text = inl.ToString();
        }
Exemple #2
0
        static Dictionary <StatisticParametrType, double> MakeLowestDictionary(double[] mas)
        {
            Dictionary <StatisticParametrType, double> result = new Dictionary <StatisticParametrType, double>(2);

            result.Add(StatisticParametrType.Mean, MasFunctions.CalculateMean(mas));
            result.Add(StatisticParametrType.Variation, MasFunctions.CalculateVariation(mas));

            return(result);
        }
        void CalculateCharacteristic()
        {
            double[] masY = unLinearityCurve[0].PointPairListGetY();
            textBoxMean.Text = MasFunctions.CalculateMean(masY).ToString();
            textBoxMax.Text  = MasFunctions.GetMaxAbs(masY).ToString();

            double[] masYCalibrated = unLinearityCurve[1].PointPairListGetY();
            textBoxMeanCalibrated.Text = MasFunctions.CalculateMean(masYCalibrated).ToString();
            textBoxMaxCalibrated.Text  = MasFunctions.GetMaxAbs(masYCalibrated).ToString();
        }