Skip to content

Conversation

simonster
Copy link
Member

This provides reduces the memory allocation and provides a small speed boost (on 0.4; on 0.3, where SubArrays are slow, it's probably substantially slower). We could conceivably use this to provide in-place filtfilt, although that is not yet implemented.

I removed support for non-1 initial values of a in filt_stepstate, since we don't need it if the filter is normalized before it is used.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 97.46% when pulling 01c3655 on sjk/filtfilt into bcca68b on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 97.45% when pulling e89c702 on sjk/filtfilt into bcca68b on master.

@simonster
Copy link
Member Author

It seems there is a bug in SubArrays on 0.3 that prevents this from working at all there.

This provides reduces the memory allocation and provides a small speed
boost (on 0.4; on 0.3, where SubArrays are slow, it's probably
substantially slower). We could conceivably use this to provide
in-place filtfilt, although that is not yet implemented.

I removed support for non-1 initial values of a in filt_stepstate,
since we don't need it if the filter is normalized before it is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants