Skip to content

Conversation

@yger
Copy link
Collaborator

@yger yger commented Jan 20, 2026

Currently, we hard coded a value of MARGIN_TO_CHUNK_PERCENT_WARNING = 0.2 # 20% that pops a warning each time the user is requesting a small chunk compared to the margin.

But this has very annoying side effects when dealing with analyzers. Users providing a filtered signal as an input will have tons of warning messages when extracting waveforms (that are snippets rather small). For now, this PR, at the very least, offer the possibilities for user to create a filtered object that will display marging warnings OR not.

Should it be done automatically in case of an analyzer ? This is an open question here

Copy link
Member

@alejoe91 alejoe91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok for me!

@alejoe91 alejoe91 added the preprocessing Related to preprocessing module label Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preprocessing Related to preprocessing module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants