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 4407678 commit 452ff31Copy full SHA for 452ff31
element_array_ephys/probe.py
@@ -107,13 +107,10 @@ def create_neuropixels_probe(probe_type: str = "neuropixels 1.0 - 3A"):
107
npx_probes_config["neuropixels 2.0 - MS"] = npx_probes_config["NP2010"]
108
109
probe_type = {"probe_type": probe_type}
110
- probe_params = {
111
- n: v
112
- for n, v in zip(
+ probe_params = dict(zip(
113
probe_geometry.geom_param_names,
114
- npx_probes_config[probe_type["probe_type"]],
115
- )
116
- }
+ npx_probes_config[probe_type["probe_type"]]
+ ))
117
electrode_layouts = probe_geometry.build_npx_probe(
118
**{**probe_params, **probe_type}
119
)
0 commit comments