Skip to content

Commit 58ee8bd

Browse files
committed
Correct formatting introduced by wrapping
1 parent 60826d9 commit 58ee8bd

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

articles/tutorials/ephys-socket.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ the [NeuropixelsV1e Headstage Hardware Guide](xref:np1e).
1919

2020
This tutorial guides you through building the following workflow in Bonsai:
2121

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+
:::
2425

2526
And the corresponding Signal Chains for visualization of the SpikeData and LFPData in the Open Ephys
2627
GUI.
@@ -33,7 +34,8 @@ configuration](../../images/ephys-socket-tut/ephys_socket_gui_signalchain_workin
3334

3435
<!-- This method is generalizable to any continuous data stream in the correct matrix format -->
3536

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
3739
> other ephys headstages. This tutorial assumes you are familiar with the [hardware
3840
> guide](xref:hardware) of the ONIX headstage you intend to use. Use the information on the
3941
> <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.
7678

7779
Place one TcpServer node per datastream at the top of the workflow and set their properties:
7880

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+
:::
8184

8285
- Address: Use "localhost" if using the Open Ephys GUI on the same PC or local network as Bonsai.
8386
- 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) :::
8689
- Port: choose a unique port number. We will use this port number to establish the connection with
8790
the Open Ephys GUI.
8891

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
9094
> and you need to move them, do the following: click and hold on the node, hold down the Alt key on
9195
> the keyboard, hover over a node in the workflow row over which you want to place it until an arrow
9296
> appears, and let go.
@@ -96,8 +100,9 @@ workflow](../../workflows/tutorials/ephys-socket/configure-socket.bonsai) :::
96100

97101
Construct an ONIX [top-level hardware configuration chain](xref:onix-configuration):
98102

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+
:::
101106

102107
1. Place the [configuration operators](xref:configure) that correspond to the hardware you intend to
103108
use between <xref:OpenEphys.Onix1.CreateContext> and <xref:OpenEphys.Onix1.StartAcquisition>. In
@@ -114,8 +119,9 @@ this example, these are <xref:OpenEphys.Onix1.ConfigureNeuropixelsV1eHeadstage>
114119

115120
Place the relevant operators to stream electrophysiology data from your headstage:
116121

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+
:::
119125

120126
1. Place the <xref:OpenEphys.Onix1.NeuropixelsV1eData> node into the workflow, since the device on
121127
NeuropixelsV1e Headstage that streams electrophysiology data is the Neuropixels 1.0 probe.
@@ -134,8 +140,9 @@ updated](xref:install-configure-bonsai).
134140

135141
<!-- I'm not sure how to link to the reference as was done with other nodes <xref:Bonsai.Dsp.SelectChannels> -->
136142

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+
:::
139146

140147
Configure the "Connection" property of each `SendMatOverSocket` node to each of the TCP Socket names
141148
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
202209
![TCP Socket LFP Open Ephys GUI
203210
visualizer](../../images/ephys-socket-tut/ephys_socket_lfp_viewer_gui_window.png){width=650px}
204211

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
206214
> Ephys GUI documentation](https://open-ephys.github.io/gui-docs/User-Manual/Plugins/index.html)
207215
208216
## Stream Ephys Data in Bonsai and Visualize it in the Open Ephys GUI

0 commit comments

Comments
 (0)