@@ -19,8 +19,9 @@ the [NeuropixelsV1e Headstage Hardware Guide](xref:np1e).
19
19
20
20
This tutorial guides you through building the following workflow in Bonsai:
21
21
22
- ::: workflow ![ /workflows/tutorials/ephys-socket/ephys-socket.bonsai
23
- workflow] ( ../../workflows/tutorials/ephys-socket/ephys-socket.bonsai ) :::
22
+ ::: workflow
23
+ ![ /workflows/tutorials/ephys-socket/ephys-socket.bonsai workflow] ( ../../workflows/tutorials/ephys-socket/ephys-socket.bonsai )
24
+ :::
24
25
25
26
And the corresponding Signal Chains for visualization of the SpikeData and LFPData in the Open Ephys
26
27
GUI.
@@ -33,7 +34,8 @@ configuration](../../images/ephys-socket-tut/ephys_socket_gui_signalchain_workin
33
34
34
35
<!-- This method is generalizable to any continuous data stream in the correct matrix format -->
35
36
36
- > [ !NOTE] This tutorial uses NeuropixelsV1e Headstage as an example, but the process is similar for
37
+ > [ !NOTE]
38
+ > This tutorial uses NeuropixelsV1e Headstage as an example, but the process is similar for
37
39
> other ephys headstages. This tutorial assumes you are familiar with the [ hardware
38
40
> guide] ( xref:hardware ) of the ONIX headstage you intend to use. Use the information on the
39
41
> < xref:dataio > reference page to know which shift and scaling you need to use for each device on
@@ -76,8 +78,9 @@ This tutorial assumes you're using the latest packages.
76
78
77
79
Place one TcpServer node per datastream at the top of the workflow and set their properties:
78
80
79
- ::: workflow ![ /workflows/tutorials/ephys-socket/configure-socket.bonsai
80
- workflow] ( ../../workflows/tutorials/ephys-socket/configure-socket.bonsai ) :::
81
+ ::: workflow
82
+ ![ /workflows/tutorials/ephys-socket/configure-socket.bonsai workflow] ( ../../workflows/tutorials/ephys-socket/configure-socket.bonsai )
83
+ :::
81
84
82
85
- Address: Use "localhost" if using the Open Ephys GUI on the same PC or local network as Bonsai.
83
86
- Name: give the communication channel a unique name. We will use this name to provide the
@@ -86,7 +89,8 @@ workflow](../../workflows/tutorials/ephys-socket/configure-socket.bonsai) :::
86
89
- Port: choose a unique port number. We will use this port number to establish the connection with
87
90
the Open Ephys GUI.
88
91
89
- > [ !TIP] The TcpServer nodes need to be at the top of the workflow. If they end up somewhere else
92
+ > [ !TIP]
93
+ > The TcpServer nodes need to be at the top of the workflow. If they end up somewhere else
90
94
> and you need to move them, do the following: click and hold on the node, hold down the Alt key on
91
95
> the keyboard, hover over a node in the workflow row over which you want to place it until an arrow
92
96
> appears, and let go.
@@ -96,8 +100,9 @@ workflow](../../workflows/tutorials/ephys-socket/configure-socket.bonsai) :::
96
100
97
101
Construct an ONIX [ top-level hardware configuration chain] ( xref:onix-configuration ) :
98
102
99
- ::: workflow ![ /workflows/tutorials/ephys-socket/configuration.bonsai
100
- workflow] ( ../../workflows/tutorials/ephys-socket/configuration.bonsai ) :::
103
+ ::: workflow
104
+ ![ /workflows/tutorials/ephys-socket/configuration.bonsai workflow] ( ../../workflows/tutorials/ephys-socket/configuration.bonsai )
105
+ :::
101
106
102
107
1 . Place the [ configuration operators] ( xref:configure ) that correspond to the hardware you intend to
103
108
use between < xref:OpenEphys.Onix1.CreateContext > and < xref:OpenEphys.Onix1.StartAcquisition > . In
@@ -114,8 +119,9 @@ this example, these are <xref:OpenEphys.Onix1.ConfigureNeuropixelsV1eHeadstage>
114
119
115
120
Place the relevant operators to stream electrophysiology data from your headstage:
116
121
117
- ::: workflow ![ /workflows/tutorials/ephys-socket/ephys-data.bonsai
118
- workflow] ( ../../workflows/tutorials/ephys-socket/ephys-data.bonsai ) :::
122
+ ::: workflow
123
+ ![ /workflows/tutorials/ephys-socket/ephys-data.bonsai workflow] ( ../../workflows/tutorials/ephys-socket/ephys-data.bonsai )
124
+ :::
119
125
120
126
1 . Place the < xref:OpenEphys.Onix1.NeuropixelsV1eData > node into the workflow, since the device on
121
127
NeuropixelsV1e Headstage that streams electrophysiology data is the Neuropixels 1.0 probe.
@@ -134,8 +140,9 @@ updated](xref:install-configure-bonsai).
134
140
135
141
<!-- I'm not sure how to link to the reference as was done with other nodes <xref:Bonsai.Dsp.SelectChannels> -->
136
142
137
- ::: workflow ![ /workflows/tutorials/ephys-socket/ephys-socket.bonsai
138
- workflow] ( ../../workflows/tutorials/ephys-socket/ephys-socket.bonsai ) :::
143
+ ::: workflow
144
+ ![ /workflows/tutorials/ephys-socket/ephys-socket.bonsai workflow] ( ../../workflows/tutorials/ephys-socket/ephys-socket.bonsai )
145
+ :::
139
146
140
147
Configure the "Connection" property of each ` SendMatOverSocket ` node to each of the TCP Socket names
141
148
configured earlier. In this example, we used "socket1" for "SpikeData" and "socket2" for "LfPData".
@@ -202,7 +209,8 @@ Click the play button in the Control Panel at the top of the GUI to begin data a
202
209
![ TCP Socket LFP Open Ephys GUI
203
210
visualizer] ( ../../images/ephys-socket-tut/ephys_socket_lfp_viewer_gui_window.png ) {width=650px}
204
211
205
- > [ !TIP] You can read more about using each specific plugin in the [ Plugins section of the Open
212
+ > [ !TIP]
213
+ > You can read more about using each specific plugin in the [ Plugins section of the Open
206
214
> Ephys GUI documentation] ( https://open-ephys.github.io/gui-docs/User-Manual/Plugins/index.html )
207
215
208
216
## Stream Ephys Data in Bonsai and Visualize it in the Open Ephys GUI
0 commit comments