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)); }
public float CalcMeasureScalar(WaveData wave, SpectrumData spectrum) { return(0f); }
public float CalcMeasureScalar(WaveData wave, SpectrumData spectrum) { return(wave.AsyncData.Max()); }