Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Beginnings of filter design module #1

Merged
merged 1 commit into from Dec 6, 2012

Conversation

Projects
None yet
2 participants
Contributor

simonster commented Dec 6, 2012

Transformation between prototype filters and lowpass, highpass, bandpass, and bandstop filters is implemented. Currently, only a Butterworth prototype is available. I make no guarantees with regard to the accuracy or numerical stability of the algorithms used.

The interface looks like:

analogfilter(Bandpass(Wn1, Wn2), Butterworth(N))
digitalfilter(Lowpass(Wn), Butterworth(N))

where Wn is the cutoff frequency and N is the filter order. There are separate types for filters in TF and ZPK form and conversions between them.

I make no guarantees regarding the correctness of this code. It's not my area of expertise.

@simonster simonster Basic filter design functions
Transformation between prototype filters and lowpass, highpass, bandpass,
and bandstop filters is implemented. Currently, only a Butterworth
prototype is available. I make no guarantees with regard to the accuracy
or numerical stability of the algorithms used.
8ce5a64

@kofron kofron added a commit that referenced this pull request Dec 6, 2012

@kofron kofron Merge pull request #1 from simonster/master
Beginnings of filter design module
5d55d5b

@kofron kofron merged commit 5d55d5b into kofron:master Dec 6, 2012

Owner

kofron commented Dec 6, 2012

Nice, thanks! I'm sure there's lots to do here but this is a great start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment