-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zero-phase digital filtering #54
Comments
Yes, this would be nice to have. |
I would love this as well. I've started looking into this. One thing that would be helpful here is an in-place definition of |
@mbauman So you are giving this a shot or I should put time in to it? |
I won't have a chance to get back to this for a few days, so don't let me get in your way! Upon further consideration, I reverted part of my changes to filt in 7513. But it'll still be important to use here. You're welcome to grab it and run. |
Is it ok to port across the scipy implementation of the initial condition matching? |
Yup, it's not a problem at all. DSP.jl is distributed under an MIT license, which is compatible with SciPy's 3-clause BSD license. On the top of many of the files is the SciPy license as much of DSP.jl is already derived from it. |
@mbauman Thanks for the response. How do I import this in to my copy of julia? |
And you implemented calculation of the initial state! |
In order to use that pull request as written, you would have to recompile Julia. It's much simpler to copy the definitions and paste them into your REPL/IJulia/editor/whatever-your-workflow-is. In this case I think it should work just fine (I don't think there are any non-exported dependencies) but sometimes you'll need to explicitly I had also been playing with Gustafsson's method for matching the beginning and ending initial conditions, but it doesn't seem to work the way I had imagined. I'm not sure what the applications in which having the same conditions for both directions is important, but I don't think it applies in my case, so I won't be pursuing it further. |
Thanks for your help @mbauman |
Is there any interest in an equivalent matlab
filtfilt
function?Or is this a bit high level and people can implement their own?
The text was updated successfully, but these errors were encountered: