JuliaDSP / DSP.jl

Filter design, periodograms, window functions, and other digital signal processing functionality
https://docs.juliadsp.org/dev/
Other
374 stars 108 forks source link

Add tests for the FilterDesign module #3

Closed jfsantos closed 10 years ago

jfsantos commented 10 years ago

We need to at least add some reference filters/filtering results so that we can compare the values computed by our functions with them. Another option is to use PyCall and compare our results with Scipy (but then we'll depend on the correctness of Scipy's code).

simonster commented 10 years ago

I'm not worried about the correctness of Scipy's code, but I think we want people to run basic tests without PyCall/Scipy installed, so we need some reference results. We could have more comprehensive tests in a separate file that use PyCall/Scipy.

jfsantos commented 10 years ago

We now (@b889076) have tests for all the generated coefficients and accuracy tests for all the filter design functions except the bilinear transformed Butterworth filters (digitalfilter).

simonster commented 10 years ago

We have correctness tests for everything now. More accuracy tests would be nice, but we can't do any better until we can find the roots of BigFloat polynomials.