//восстановление сигналов и шума из old...
        public void AfterMagic()
        {
            Signal.Clear();
            Noise.Clear();
            OriginalSignal.Clear();
            OriginalNoise.Clear();



            foreach (double item in oldSignal)
            {
                Signal.Add(item);
            }

            foreach (double item in oldNoise)
            {
                Noise.Add(item);
            }

            foreach (double item in oldOriginalSignal)
            {
                OriginalSignal.Add(item);
            }

            foreach (double item in oldOriginalNoise)
            {
                OriginalNoise.Add(item);
            }
        }