You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hopefully a pretty straightforward FR: at present scipy.signal.filtfilt() has a method argument by which one can choose the gust method of padding, but scipy.signal.sosfiltfilt() doesn't, meaning one has to choose between an implementation of filtfilt that has the gust method but is numerically unstable for higher order filter designs, or a numerically stable filter with no gust method.
The text was updated successfully, but these errors were encountered:
In principle this does sound like a useful addition. I am not familiar with the gust method (only seen that it exists in the code) but if someone can take a look at some point and see if it's doable, that would be great. @mike-lawrence if you have already looked at the code and/or know the method well enough to know it's doable (and have time to work on it), feel free to give it a shot!
I'm also interested in this addition; atm I'm making do with a loop like the one below, but it feels a little hacky (a formal version would also almost certainly be faster):
Hopefully a pretty straightforward FR: at present
scipy.signal.filtfilt()
has amethod
argument by which one can choose thegust
method of padding, butscipy.signal.sosfiltfilt()
doesn't, meaning one has to choose between an implementation of filtfilt that has the gust method but is numerically unstable for higher order filter designs, or a numerically stable filter with no gust method.The text was updated successfully, but these errors were encountered: