Skip to content

Filter step: Option to choose different buffer methods #63

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

CarlMartinAxel
Copy link
Collaborator

@CarlMartinAxel CarlMartinAxel commented Nov 18, 2024

Introduces bufferFrames and bufferType as filter step options.
Let's the user choose the number of frames to buffer at each end of the signal and which method to use. This helps reduce edge effects in different ways when filtering. Buffer options include extrapolation, reflection and constant padding.

Checklist

  • Test case implemented
  • Test coverage 100%
  • Tested inside a yaml pipeline
  • Documentation added

Example

Example of using the new filter options.

- parameter: filtered_signal
  steps:
    - lowpass:
      cutoff: 6
      bufferFrames: 20
      bufferType: extrapolation

Work item: AB#39445

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