@@ -104,7 +104,7 @@ def detect_events(
104
104
Currently, only "Marker" is supported, which implements
105
105
the method from Zenis et al. 2008.
106
106
Default is "Marker".
107
- **kwargs: Additional keyword arguments for the event detection method.
107
+ **kwargs:
108
108
- height: The height of peaks. Default = None
109
109
- threshold: The threshold of peaks. Default = None
110
110
- distance: The min distance in frames between events. Default = None
@@ -164,7 +164,7 @@ def write_events_to_c3d(
164
164
c3d_path: The path to the original c3d file.
165
165
event_table: The DataFrame containing the events.
166
166
output_path: The path to write the c3d file with the events.
167
- If None, the original file will be overwritten.
167
+ If None, the original file will be overwritten.
168
168
"""
169
169
io .C3dEventFileWriter (c3d_path ).write_events (event_table , output_path ) # type: ignore
170
170
@@ -202,7 +202,7 @@ def time_normalise_trial(
202
202
trial: The trial to normalise the time for.
203
203
method: The method to use for normalising the time. Currently, only supports
204
204
"linear" which normalises the time linearly. Default is "linear".
205
- **kwargs: Additional keyword arguments for the normalisation method.
205
+ **kwargs:
206
206
- n_frames: The number of frames to normalise the data to.
207
207
208
208
Returns:
@@ -235,6 +235,7 @@ def calculate_features(
235
235
trial: The trial to calculate the features for.
236
236
config: The mapping configurations
237
237
methods: Class objects of the feature calculation methods to use.
238
+ **kwargs: Currently not used.
238
239
239
240
Returns:
240
241
The trial with the calculated features.
@@ -255,7 +256,7 @@ def _create_feature_methods(
255
256
Args:
256
257
methods: The list of feature calculation methods to use.
257
258
config: The mapping configurations
258
- **kwargs: Additional keyword arguments for the methods .
259
+ **kwargs: Currently not used .
259
260
260
261
Returns:
261
262
A list of the feature calculation method objects.
0 commit comments