I'm trying to create a digital filter using NeoDym, for some reason the filter doesn't seem to output any data, I am initializing it with this code:
double mathNetFiltercoefficients = MathNet.SignalProcessing.Filter.IIR.IirCoefficients.BandPass(samplingFrequency, (samplingFrequency / 4), 100);
//MathNet.SignalProcessing.Filter.OnlineFilter.CreateBandpass(MathNet.SignalProcessing.Filter.ImpulseResponse.Infinite, samplingFrequency, (samplingFrequency / 4) - 10, (samplingFrequency / 4) + 10);
//tried above way to initialize
MathNetFilter1 = new MathNet.SignalProcessing.Filter.IIR.OnlineIirFilter(mathNetFiltercoefficients);
I have this line in a for loop to process the samples:
filteredSample = MathNetFilter1.ProcessSample(sampleToProcess);
I am not sure what I did wrong here, also is the Math.net numerics take over signal processing in the future?