Skip to content

Commit d632b58

Browse files
committed
Add neuropixel2 in generator
1 parent b10a110 commit d632b58

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

src/spikeinterface/generation/drifting_generator.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# this should be moved in probeinterface but later
2727
_toy_probes = {
28-
"Neuropixel-384": dict(
28+
"Neuropixel1-384": dict(
2929
num_columns=4,
3030
num_contact_per_column=[96] * 4,
3131
xpitch=16,
@@ -34,7 +34,15 @@
3434
contact_shapes="square",
3535
contact_shape_params={"width": 12},
3636
),
37-
"Neuropixel-128": dict(
37+
"Neuropixel2-384": dict(
38+
num_columns=2,
39+
num_contact_per_column=[192] * 2,
40+
xpitch=32,
41+
ypitch=15,
42+
contact_shapes="square",
43+
contact_shape_params={"width": 12},
44+
),
45+
"Neuropixel1-128": dict(
3846
num_columns=4,
3947
num_contact_per_column=[32] * 4,
4048
xpitch=16,
@@ -273,7 +281,7 @@ def generate_drifting_recording(
273281
num_units=250,
274282
duration=600.0,
275283
sampling_frequency=30000.0,
276-
probe_name="Neuropixel-128",
284+
probe_name="Neuropixel1-128",
277285
generate_probe_kwargs=None,
278286
generate_unit_locations_kwargs=dict(
279287
margin_um=20.0,
@@ -327,7 +335,7 @@ def generate_drifting_recording(
327335
The duration in seconds.
328336
sampling_frequency : float, dfault: 30000.
329337
The sampling frequency.
330-
probe_name : str, default: "Neuropixel-128"
338+
probe_name : str, default: "Neuropixel1-128"
331339
The probe type if generate_probe_kwargs is None.
332340
generate_probe_kwargs : None or dict
333341
A dict to generate the probe, this supersede probe_name when not None.

0 commit comments

Comments
 (0)