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 9, 2024
1 parent 3efa5f5 commit 8c10bcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spikeinterface/preprocessing/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def causal_filter(
recording : Recording
The recording extractor to be re-referenced
direction : "forward" | "backward", default: "forward"
Direction of causal filter. The "backward" option flips the traces in time before applying the filter
Direction of causal filter. The "backward" option flips the traces in time before applying the filter
and then flips them back.
band : float or list, default: [300.0, 6000.0]
If float, cutoff frequency in Hz for "highpass" filter type
Expand All @@ -377,7 +377,7 @@ def causal_filter(
- numerator/denominator : ("ba")
ftype : str, default: "butter"
Filter type for `scipy.signal.iirfilter` e.g. "butter", "cheby1".
Returns
-------
filter_recording : FilterRecording
Expand All @@ -396,7 +396,7 @@ def causal_filter(
add_reflect_padding=add_reflect_padding,
coeff=coeff,
dtype=dtype,
)
)

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

0 comments on commit 8c10bcc

Please sign in to comment.