Пример #1
0
        public float CalcMeasureScalar(WaveData wave, SpectrumData spectrum)
        {
            double sum = 0;

            for (int i = LowFreq; i < HighFreq; i++)
            {
                sum += spectrum.YValues[i] * spectrum.YValues[i];
            }
            return((float)Math.Sqrt(sum / spectrum.XValues.Length));
        }
Пример #2
0
 public float CalcMeasureScalar(WaveData wave, SpectrumData spectrum)
 {
     return(0f);
 }
Пример #3
0
 public float CalcMeasureScalar(WaveData wave, SpectrumData spectrum)
 {
     return(wave.AsyncData.Max());
 }