We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aafb128 commit 8082085Copy full SHA for 8082085
1 file changed
src/spikeinterface/extractors/neuropixels_utils.py
@@ -35,7 +35,7 @@ def get_neuropixels_sample_shifts(
35
Neuropixels 1.0 probes have 13 cycles for AP (action potential) signals
36
and 12 for LFP (local field potential) signals.
37
Neuropixels 2.0 probes have 16 cycles.
38
- If None, defaults to the value of num_channels_per_adc.
+ If None, defaults to the value of `num_channels_per_adc`.
39
40
Returns
41
-------
@@ -50,7 +50,7 @@ def get_neuropixels_sample_shifts(
50
np.arange(num_channels), 2
51
)
52
53
- sample_shifts = np.zeros_like(adc_indices, dtype=float)
+ sample_shifts = np.zeros_like(adc_indices)
54
55
for a in np.unique(adc_indices):
56
channel_indices = np.where(adc_indices == a)[0]
0 commit comments