private static void InitParams()
 {
     if (m_ParamsStorage.Count == 0)
     {
         m_ParamsStorage[8]  = new PpgDispersionNormalizerParams(2373, 400, 13000);
         m_ParamsStorage[10] = new PpgDispersionNormalizerParams(2373, 400, 13000);
     }
 }
        /// <summary>
        ///
        /// </summary>
        /// <param name="sampling_rate"></param>
        /// <param name="BitsPerSample">Разрядность АЦП стабилизируемого канала ФПГ</param>
        public PpgDispersionNormalizer(double sampling_rate, int BitsPerSample)
        {
            PpgDispersionNormalizerParams para = PpgDispersionNormalizerParamsManager.GetParams(BitsPerSample);

            this.DSN      = para.DSN;
            this.m_KA_min = para.KA_min;
            this.m_KA_max = para.KA_max;

            this.m_SamplingRate = sampling_rate;

            // длительность истории для нормализации дисперсии
            this.MB = (int)(sampling_rate * 2.25);

            this.A  = new long[MB];
            this.AM = new long[MB];
            this.DD = new long[MB];

            this.SigmaHistory      = new long[MB];
            this.stab_data_history = new RingBuffer <long>(MB);
        }