Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 10, 2024
1 parent ba9a78c commit e9b2441
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spikeinterface/preprocessing/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def __init__(self, recording, freq=3000, q=30, margin_ms=5.0, dtype=None):
notch_filter = define_function_from_class(source_class=NotchFilterRecording, name="notch_filter")
highpass_filter = define_function_from_class(source_class=HighpassFilterRecording, name="highpass_filter")


def causal_filter(
recording,
direction="forward",
Expand Down Expand Up @@ -398,6 +399,7 @@ def causal_filter(
dtype=dtype,
)


bandpass_filter.__doc__ = bandpass_filter.__doc__.format(_common_filter_docs)
highpass_filter.__doc__ = highpass_filter.__doc__.format(_common_filter_docs)
causal_filter.__doc__ = causal_filter.__doc__.format(_common_filter_docs)
Expand Down

0 comments on commit e9b2441

Please sign in to comment.