Skip to content

Commit

Permalink
zach review
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Jan 14, 2025
1 parent aafb128 commit 8082085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface/extractors/neuropixels_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_neuropixels_sample_shifts(
Neuropixels 1.0 probes have 13 cycles for AP (action potential) signals
and 12 for LFP (local field potential) signals.
Neuropixels 2.0 probes have 16 cycles.
If None, defaults to the value of num_channels_per_adc.
If None, defaults to the value of `num_channels_per_adc`.
Returns
-------
Expand All @@ -50,7 +50,7 @@ def get_neuropixels_sample_shifts(
np.arange(num_channels), 2
)

sample_shifts = np.zeros_like(adc_indices, dtype=float)
sample_shifts = np.zeros_like(adc_indices)

for a in np.unique(adc_indices):
channel_indices = np.where(adc_indices == a)[0]
Expand Down

0 comments on commit 8082085

Please sign in to comment.