|
41 | 41 |
|
42 | 42 | ############################################################################## |
43 | 43 | # In order to ease this process, `probeinterface` also includes some commonly |
44 | | -# used wirings based on standard connectors. In our case, we can simply use: |
| 44 | +# used wirings based on standard connectors. We created references and spreadsheets |
| 45 | +# showing how these wirings are computed at `probeinterface/resources/wiring_references |
| 46 | +# <https://github.com/SpikeInterface/probeinterface/tree/9776684948e3ceba71601e5c0f90c2672f665234/resources>`_. |
| 47 | +# If we have a Intan RHD2132 Headstage attached to a NeuroNexus H32 Connector, we can |
| 48 | +# import this wiring as follows: |
45 | 49 |
|
46 | 50 | probe.wiring_to_device('H32>RHD2132') |
47 | 51 | print(probe.device_channel_indices) |
48 | 52 |
|
49 | 53 | ############################################################################## |
50 | 54 | # In this figure we have 2 numbers for each contact: |
51 | | -# * the upper number "prbXX" is the Neuronexus index (one-based) |
| 55 | +# * the upper number "prbXX" is the contact id (one-based, from NeuroNexus) |
52 | 56 | # * the lower "devXX" is the channel on the Intan device (zero-based) |
53 | 57 |
|
54 | 58 | fig, ax = plt.subplots(figsize=(5, 15)) |
55 | 59 | plot_probe(probe, with_contact_id=True, with_device_index=True, ax=ax) |
56 | 60 |
|
57 | 61 |
|
58 | | -plt.show() |
59 | | - |
60 | | -""" |
61 | | -Available wiring "pathways" |
62 | | ---------------------------- |
63 | | -
|
64 | | -The available pathways can be found in the `probeinterface.wiring <>`_ module. |
65 | | -
|
66 | | -The following pathways are available: |
67 | | -""" |
| 62 | +############################################################################## |
| 63 | +# Available wiring "pathways" |
| 64 | +# --------------------------- |
| 65 | +# |
| 66 | +# The available pathways can be found in the `probeinterface.wiring <https://github.com/SpikeInterface/probeinterface/blob/main/src/probeinterface/wiring.py>`_ module. |
| 67 | +# |
| 68 | +# The following pathways are available: |
| 69 | +# |
68 | 70 |
|
69 | 71 | from probeinterface import get_available_pathways |
70 | 72 |
|
71 | 73 | print(get_available_pathways()) |
| 74 | + |
| 75 | +plt.show() |
0 commit comments