コード例 #1
0
        public Chromatogram CreateSmoothChromatogram(SmoothingType smoothing, int points)
        {
            switch (smoothing)
            {
            case SmoothingType.BoxCar:
                double[] newTimes       = XArray.BoxCarSmooth(points);
                double[] newIntensities = YArray.BoxCarSmooth(points);
                return(new Chromatogram(newTimes, newIntensities, false));

            default:
                return(new Chromatogram(this));
            }
        }