Skip to content

Commit 12538cc

Browse files
committed
Revert to float32.
1 parent d17181f commit 12538cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/spikeinterface/preprocessing/whiten.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class WhitenRecording(BasePreprocessor):
2020
The recording extractor to be whitened.
2121
dtype : None or dtype, default: None
2222
Datatype of the output recording (covariance matrix estimation
23-
and whitening are performed in float64).
23+
and whitening are performed in float32).
2424
If None the the parent dtype is kept.
2525
For integer dtype a int_scale must be also given.
2626
mode : "global" | "local", default: "global"
@@ -189,7 +189,7 @@ def compute_whitening_matrix(
189189
190190
"""
191191
random_data = get_random_data_chunks(recording, concatenated=True, return_scaled=False, **random_chunk_kwargs)
192-
random_data = random_data.astype(np.float64)
192+
random_data = random_data.astype(np.float32)
193193

194194
regularize_kwargs = regularize_kwargs if regularize_kwargs is not None else {"method": "GraphicalLassoCV"}
195195

0 commit comments

Comments
 (0)