Skip to content

Commit 280f103

Browse files
committed
add mux_table_array to read_spikeglx
1 parent 783dba9 commit 280f103

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/probeinterface/neuropixels_tools.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,14 @@ def _read_imro_string(imro_str: str, imDatPrb_pn: Optional[str] = None) -> Probe
452452

453453
probe = _make_npx_probe_from_description(pt_metadata, elec_ids, shank_ids)
454454

455+
mux_table_format_type = pt_metadata["mux_table_format_type"]
456+
mux_information = probe_features["z_mux_tables"].get(mux_table_format_type)
457+
mux_table_array = make_mux_table_array(mux_information)
458+
455459
# scalar annotations
456460
probe.annotate(
457461
probe_type=probe_type,
462+
mux_table_array=mux_table_array,
458463
)
459464

460465
# vector annotations

0 commit comments

Comments
 (0)