Skip to content

Commit 5fde112

Browse files
authored
remove stream_in and stream_out nodes (#151)
* remove stream_in/out nodes * remove all other references * remove reference to kStreamIn
1 parent e3d67f8 commit 5fde112

19 files changed

Lines changed: 17 additions & 826 deletions

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
4141
sleep 5
4242
43-
python synapse/examples/stream_out.py 127.0.0.1:50051
43+
python synapse/examples/tap_example.py 127.0.0.1:50051
4444
4545
kill $(jobs -p)

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Includes `synapsectl` command line utility:
66

77
% synapsectl --help
88
usage: synapsectl [-h] [--uri URI] [--version] [--verbose]
9-
{discover,info,query,start,stop,configure,logs,read,plot,file,taps,deploy} ...
9+
{discover,info,query,start,stop,configure,logs,read,plot,file,taps,deploy,build,settings} ...
1010

1111
Synapse Device Manager
1212

@@ -17,20 +17,21 @@ Includes `synapsectl` command line utility:
1717
--verbose, -v Enable verbose output
1818

1919
Commands:
20-
{discover,info,query,start,stop,configure,logs,read,plot,file,taps,deploy,build}
20+
{discover,info,query,start,stop,configure,logs,read,plot,file,taps,deploy,build,settings}
2121
discover Discover Synapse devices on the network
2222
info Get device information
2323
query Execute a query on the device
2424
start Start the device or an application
2525
stop Stop the device or an application
2626
configure Write a configuration to the device
2727
logs Get logs from the device
28-
read Read from a device's StreamOut node
28+
read Read from a device's Broadband Tap and save to HDF5
2929
plot Plot recorded synapse data
3030
file File commands
3131
taps Interact with taps on the network
3232
deploy Deploy an application to a Synapse device
3333
build Cross-compile and package an application into a .deb without deploying
34+
settings Manage the persistent device settings
3435

3536
As well as the base for a device implementation (`synapse/server`),
3637

@@ -119,8 +120,6 @@ info = device.info()
119120

120121
print("Device info: ", device.info())
121122

122-
stream_out = syn.StreamOut(label="my broadband", multicast_group="224.0.0.1")
123-
124123
channels = [
125124
syn.Channel(
126125
id=channel_num,
@@ -144,9 +143,7 @@ broadband = syn.BroadbandSource(
144143
)
145144

146145
config = syn.Config()
147-
config.add_node(stream_out)
148146
config.add_node(broadband)
149-
config.connect(broadband, stream_out)
150147

151148
device.configure(config)
152149
device.start()

synapse/client/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@
1515
from synapse.client.nodes.spike_binner import SpikeBinner
1616
from synapse.client.nodes.spike_detector import SpikeDetector
1717
from synapse.client.nodes.spectral_filter import SpectralFilter
18-
from synapse.client.nodes.stream_in import StreamIn
19-
from synapse.client.nodes.stream_out import StreamOut

synapse/client/nodes/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
from synapse.client.nodes.spike_binner import SpikeBinner
66
from synapse.client.nodes.spike_detector import SpikeDetector
77
from synapse.client.nodes.spike_source import SpikeSource
8-
from synapse.client.nodes.stream_in import StreamIn
9-
from synapse.client.nodes.stream_out import StreamOut
108
from synapse.client.nodes.disk_writer import DiskWriter
119
from synapse.client.nodes.application_node import ApplicationNode
1210

@@ -21,7 +19,5 @@
2119
NodeType.kSpikeBinner: SpikeBinner,
2220
NodeType.kSpikeDetector: SpikeDetector,
2321
NodeType.kSpikeSource: SpikeSource,
24-
NodeType.kStreamIn: StreamIn,
25-
NodeType.kStreamOut: StreamOut,
2622
NodeType.kApplication: ApplicationNode,
2723
}

synapse/client/nodes/stream_in.py

Lines changed: 0 additions & 93 deletions
This file was deleted.

synapse/client/nodes/stream_out.py

Lines changed: 0 additions & 182 deletions
This file was deleted.

0 commit comments

Comments
 (0)