@@ -533,7 +533,7 @@ def _annotate_contacts_from_mux_table(probe: Probe, adc_groups_array: np.array):
533533 probe .annotate_contacts (adc_sample_order = adc_sample_order )
534534
535535
536- def annotate_probe_with_adc_sampling_info (probe : Probe , adc_sampling_table : str | None ):
536+ def _annotate_probe_with_adc_sampling_info (probe : Probe , adc_sampling_table : str | None ):
537537 """
538538 Annotate a Probe object with ADC group and sample order information based on the ADC sampling table.
539539
@@ -971,7 +971,7 @@ def read_spikeglx(file: str | Path) -> Probe:
971971 # apply the mapping. This must be done here (not in build_neuropixels_probe)
972972 # because the table indices are readout channel indices, not electrode indices.
973973 adc_sampling_table = probe .annotations .get ("adc_sampling_table" )
974- annotate_probe_with_adc_sampling_info (probe , adc_sampling_table )
974+ _annotate_probe_with_adc_sampling_info (probe , adc_sampling_table )
975975
976976 # ===== 7. Slice to saved channels (if subset was saved) =====
977977 # This is DIFFERENT from IMRO selection: IMRO selects which electrodes to acquire,
@@ -1543,7 +1543,7 @@ def _annotate_openephys_probe(probe: Probe, probe_info: dict) -> None:
15431543 probe .annotate_contacts (settings_channel_key = probe_info ["settings_channel_keys" ])
15441544
15451545 adc_sampling_table = probe .annotations .get ("adc_sampling_table" )
1546- annotate_probe_with_adc_sampling_info (probe , adc_sampling_table )
1546+ _annotate_probe_with_adc_sampling_info (probe , adc_sampling_table )
15471547
15481548
15491549def _compute_wiring_from_oebin (
0 commit comments