Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/spikeinterface/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class BaseExtractor:
# these properties are skipped by default in copy_metadata
_skip_properties = []

# kwargs which can be precomputed before being used by the extractor
_precomputable_kwarg_names = []

installation_mesg = ""
installed = True

Expand Down
2 changes: 2 additions & 0 deletions src/spikeinterface/preprocessing/whiten.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class WhitenRecording(BasePreprocessor):
The whitened recording extractor
"""

_precomputable_kwarg_names = ["W", "M"]

def __init__(
self,
recording,
Expand Down