Skip to content

Commit 076d781

Browse files
authored
Merge pull request #4079 from alejoe91/missing-docs
Add missing functions in API
2 parents fb9ddbb + afb1fb6 commit 076d781

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

doc/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,16 @@ spikeinterface.preprocessing
176176
.. autofunction:: clip
177177
.. autofunction:: common_reference
178178
.. autofunction:: correct_lsb
179+
.. autofunction:: compute_motion
179180
.. autofunction:: correct_motion
180181
.. autofunction:: get_motion_presets
181182
.. autofunction:: get_motion_parameters_preset
182183
.. autofunction:: load_motion_info
183184
.. autofunction:: save_motion_info
184185
.. autofunction:: depth_order
185186
.. autofunction:: detect_bad_channels
187+
.. autofunction:: detect_and_interpolate_bad_channels
188+
.. autofunction:: detect_and_remove_bad_channels
186189
.. autofunction:: directional_derivative
187190
.. autofunction:: filter
188191
.. autofunction:: gaussian_filter

src/spikeinterface/preprocessing/interpolate_bad_channels.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ def __init__(
133133
self._kwargs.update(all_bad_channels_kwargs)
134134

135135

136-
detect_and_interpolate_bad_channels = define_function_handling_dict_from_class(
137-
source_class=DetectAndInterpolateBadChannelsRecording, name="detect_and_interpolate_bad_channels"
138-
)
139136
DetectAndInterpolateBadChannelsRecording.__doc__ = DetectAndInterpolateBadChannelsRecording.__doc__.format(
140137
_bad_channel_detection_kwargs_doc
141138
)
139+
detect_and_interpolate_bad_channels = define_function_handling_dict_from_class(
140+
source_class=DetectAndInterpolateBadChannelsRecording, name="detect_and_interpolate_bad_channels"
141+
)
142142

143143

144144
class InterpolateBadChannelsSegment(BasePreprocessorSegment):

0 commit comments

Comments
 (0)