Skip to content

Commit bb42e93

Browse files
committed
cs edits based on my own & bpark's feedback
1 parent 58ee8bd commit bb42e93

15 files changed

+211
-138
lines changed

articles/tutorials/ephys-socket.md

Lines changed: 98 additions & 128 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12.7 KB
Binary file not shown.

img-src/port-9001-signal-chain.xcf

296 KB
Binary file not shown.

img-src/port-9002-signal-chain.xcf

79.1 KB
Binary file not shown.

workflows/tutorials/ephys-socket/configuration.bonsai

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<Nodes>
99
<Expression xsi:type="Combinator">
1010
<Combinator xsi:type="p1:TcpServer">
11-
<p1:Name>socket1</p1:Name>
11+
<p1:Name>SpikeSocket</p1:Name>
1212
<p1:Port>9001</p1:Port>
1313
<p1:Address>localhost</p1:Address>
1414
</Combinator>
1515
</Expression>
1616
<Expression xsi:type="Combinator">
1717
<Combinator xsi:type="p1:TcpServer">
18-
<p1:Name>socket2</p1:Name>
18+
<p1:Name>LfpSocket</p1:Name>
1919
<p1:Port>9002</p1:Port>
2020
<p1:Address>localhost</p1:Address>
2121
</Combinator>

workflows/tutorials/ephys-socket/configure-socket.bonsai

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<Nodes>
88
<Expression xsi:type="Combinator">
99
<Combinator xsi:type="p1:TcpServer">
10-
<p1:Name>socket1</p1:Name>
10+
<p1:Name>SpikeSocket</p1:Name>
1111
<p1:Port>9001</p1:Port>
1212
<p1:Address>localhost</p1:Address>
1313
</Combinator>
1414
</Expression>
1515
<Expression xsi:type="Combinator">
1616
<Combinator xsi:type="p1:TcpServer">
17-
<p1:Name>socket2</p1:Name>
17+
<p1:Name>LfpSocket</p1:Name>
1818
<p1:Port>9002</p1:Port>
1919
<p1:Address>localhost</p1:Address>
2020
</Combinator>

workflows/tutorials/ephys-socket/ephys-data.bonsai

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<Nodes>
99
<Expression xsi:type="Combinator">
1010
<Combinator xsi:type="p1:TcpServer">
11-
<p1:Name>socket1</p1:Name>
11+
<p1:Name>SpikeSocket</p1:Name>
1212
<p1:Port>9001</p1:Port>
1313
<p1:Address>localhost</p1:Address>
1414
</Combinator>
1515
</Expression>
1616
<Expression xsi:type="Combinator">
1717
<Combinator xsi:type="p1:TcpServer">
18-
<p1:Name>socket2</p1:Name>
18+
<p1:Name>LfpSocket</p1:Name>
1919
<p1:Port>9002</p1:Port>
2020
<p1:Address>localhost</p1:Address>
2121
</Combinator>

workflows/tutorials/ephys-socket/ephys-socket.bonsai

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<Nodes>
99
<Expression xsi:type="Combinator">
1010
<Combinator xsi:type="p1:TcpServer">
11-
<p1:Name>socket1</p1:Name>
11+
<p1:Name>SpikeSocket</p1:Name>
1212
<p1:Port>9001</p1:Port>
1313
<p1:Address>localhost</p1:Address>
1414
</Combinator>
1515
</Expression>
1616
<Expression xsi:type="Combinator">
1717
<Combinator xsi:type="p1:TcpServer">
18-
<p1:Name>socket2</p1:Name>
18+
<p1:Name>LfpSocket</p1:Name>
1919
<p1:Port>9002</p1:Port>
2020
<p1:Address>localhost</p1:Address>
2121
</Combinator>
@@ -137,15 +137,15 @@
137137
</Expression>
138138
<Expression xsi:type="Combinator">
139139
<Combinator xsi:type="p1:SendMatOverSocket">
140-
<p1:Connection>socket1</p1:Connection>
140+
<p1:Connection>SpikeSocket</p1:Connection>
141141
</Combinator>
142142
</Expression>
143143
<Expression xsi:type="MemberSelector">
144144
<Selector>LfpData</Selector>
145145
</Expression>
146146
<Expression xsi:type="Combinator">
147147
<Combinator xsi:type="p1:SendMatOverSocket">
148-
<p1:Connection>socket2</p1:Connection>
148+
<p1:Connection>LfpSocket</p1:Connection>
149149
</Combinator>
150150
</Expression>
151151
</Nodes>
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<SETTINGS>
4+
<INFO>
5+
<VERSION>0.6.7</VERSION>
6+
<PLUGIN_API_VERSION>8</PLUGIN_API_VERSION>
7+
<DATE>11 Feb 2025 0:46:47</DATE>
8+
<OS>Windows 10</OS>
9+
<MACHINE name="DESKTOP-PP31GLN" cpu_model="Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz"
10+
cpu_num_cores="8"/>
11+
</INFO>
12+
<SIGNALCHAIN>
13+
<PROCESSOR name="Ephys Socket" insertionPoint="0" pluginName="Ephys Socket"
14+
type="4" index="0" libraryName="Ephys Socket" libraryVersion="0.4.0"
15+
processorType="2" nodeId="100">
16+
<GLOBAL_PARAMETERS/>
17+
<STREAM name="EphysSocketStream" description="Data acquired via network stream"
18+
sample_rate="30000.0" channel_count="1">
19+
<PARAMETERS/>
20+
</STREAM>
21+
<CUSTOM_PARAMETERS/>
22+
<EDITOR isCollapsed="0" isDrawerOpen="0" displayName="Ephys Socket" activeStream="0">
23+
<PARAMETERS port="9001" fs="30000" scale="1.171875" offset="512"/>
24+
</EDITOR>
25+
</PROCESSOR>
26+
<PROCESSOR name="Probe Viewer" insertionPoint="1" pluginName="Probe Viewer"
27+
type="1" index="9" libraryName="Probe Viewer" libraryVersion="0.3.2"
28+
processorType="3" nodeId="101">
29+
<GLOBAL_PARAMETERS/>
30+
<STREAM name="EphysSocketStream" description="Data acquired via network stream"
31+
sample_rate="30000.0" channel_count="1">
32+
<PARAMETERS enable_stream="1"/>
33+
</STREAM>
34+
<CUSTOM_PARAMETERS/>
35+
<EDITOR isCollapsed="0" isDrawerOpen="0" displayName="Probe Viewer" activeStream="0"
36+
Type="Visualizer" selectedStream="0">
37+
<TAB Active="1" Index="3"/>
38+
<WINDOW Active="0"/>
39+
<CANVAS>
40+
<STREAM id="10026" zoomLowerBound="11" zoomOffset="0" zoomHeight="1"/>
41+
<OPTIONS renderMode="1" rmsLow="0.0" rmsHi="250.0" fftLow="-100.0" fftHi="0.0"
42+
fftFreqBin="1" spikeLow="0.0" spikeHi="10000.0" spikeThreshold="-50.0"
43+
colourScheme="1"/>
44+
</CANVAS>
45+
</EDITOR>
46+
</PROCESSOR>
47+
</SIGNALCHAIN>
48+
<SIGNALCHAIN>
49+
<PROCESSOR name="Ephys Socket" insertionPoint="0" pluginName="Ephys Socket"
50+
type="4" index="0" libraryName="Ephys Socket" libraryVersion="0.4.0"
51+
processorType="2" nodeId="102">
52+
<GLOBAL_PARAMETERS/>
53+
<STREAM name="EphysSocketStream" description="Data acquired via network stream"
54+
sample_rate="30000.0" channel_count="1">
55+
<PARAMETERS/>
56+
</STREAM>
57+
<CUSTOM_PARAMETERS/>
58+
<EDITOR isCollapsed="0" isDrawerOpen="0" displayName="Ephys Socket" activeStream="0">
59+
<PARAMETERS port="9002" fs="30000" scale="23.4375" offset="512"/>
60+
</EDITOR>
61+
</PROCESSOR>
62+
<PROCESSOR name="LFP Viewer" insertionPoint="1" pluginName="LFP Viewer"
63+
type="1" index="6" libraryName="LFP viewer" libraryVersion="0.6.7"
64+
processorType="3" nodeId="103">
65+
<GLOBAL_PARAMETERS/>
66+
<STREAM name="EphysSocketStream" description="Data acquired via network stream"
67+
sample_rate="30000.0" channel_count="1">
68+
<PARAMETERS enable_stream="1"/>
69+
</STREAM>
70+
<CUSTOM_PARAMETERS/>
71+
<EDITOR isCollapsed="0" isDrawerOpen="0" displayName="LFP Viewer" activeStream="0"
72+
Type="LfpDisplayEditor">
73+
<TAB Active="0" Index="-1"/>
74+
<WINDOW Active="0"/>
75+
<VALUES SelectedLayout="1"/>
76+
</EDITOR>
77+
</PROCESSOR>
78+
</SIGNALCHAIN>
79+
<EDITORVIEWPORT scroll="0">
80+
<EPHYS_SOCKET ID="102"/>
81+
<LFP_VIEWER ID="103"/>
82+
</EDITORVIEWPORT>
83+
<DATAVIEWPORT selectedTab="3"/>
84+
<AUDIO sampleRate="48000.0" bufferSize="1024" deviceType="Windows Audio"/>
85+
<CONTROLPANEL isOpen="0" recordPath="C:\Users\cshor\Documents\Open Ephys" recordEngine="BINARY"
86+
clockMode="0"/>
87+
<AUDIOEDITOR isMuted="0" volume="50.0" noiseGate="0.0"/>
88+
<FILENAMECONFIG>
89+
<PREPEND state="0" value=""/>
90+
<MAIN state="1" value="YYYY-MM-DD_HH-MM-SS"/>
91+
<APPEND state="0" value=""/>
92+
</FILENAMECONFIG>
93+
<PROCESSORLIST>
94+
<COLOR ID="801" R="59" G="59" B="59"/>
95+
<COLOR ID="804" R="241" G="90" B="41"/>
96+
<COLOR ID="802" R="0" G="174" B="239"/>
97+
<COLOR ID="803" R="0" G="166" B="81"/>
98+
<COLOR ID="805" R="147" G="149" B="152"/>
99+
<COLOR ID="806" R="255" G="0" B="0"/>
100+
<COLOR ID="807" R="0" G="0" B="0"/>
101+
</PROCESSORLIST>
102+
<UICOMPONENT isProcessorListOpen="1" isEditorViewportOpen="1"/>
103+
</SETTINGS>

0 commit comments

Comments
 (0)