Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:

sleep 5

python synapse/examples/stream_out.py 127.0.0.1:50051
python synapse/examples/tap_example.py 127.0.0.1:50051

kill $(jobs -p)
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Includes `synapsectl` command line utility:

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

Synapse Device Manager

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

Commands:
{discover,info,query,start,stop,configure,logs,read,plot,file,taps,deploy,build}
{discover,info,query,start,stop,configure,logs,read,plot,file,taps,deploy,build,settings}
discover Discover Synapse devices on the network
info Get device information
query Execute a query on the device
start Start the device or an application
stop Stop the device or an application
configure Write a configuration to the device
logs Get logs from the device
read Read from a device's StreamOut node
read Read from a device's Broadband Tap and save to HDF5
plot Plot recorded synapse data
file File commands
taps Interact with taps on the network
deploy Deploy an application to a Synapse device
build Cross-compile and package an application into a .deb without deploying
settings Manage the persistent device settings

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

Expand Down Expand Up @@ -119,8 +120,6 @@ info = device.info()

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

stream_out = syn.StreamOut(label="my broadband", multicast_group="224.0.0.1")

channels = [
syn.Channel(
id=channel_num,
Expand All @@ -144,9 +143,7 @@ broadband = syn.BroadbandSource(
)

config = syn.Config()
config.add_node(stream_out)
config.add_node(broadband)
config.connect(broadband, stream_out)

device.configure(config)
device.start()
Expand Down
2 changes: 1 addition & 1 deletion synapse-api
2 changes: 0 additions & 2 deletions synapse/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
from synapse.client.nodes.spike_binner import SpikeBinner
from synapse.client.nodes.spike_detector import SpikeDetector
from synapse.client.nodes.spectral_filter import SpectralFilter
from synapse.client.nodes.stream_in import StreamIn
from synapse.client.nodes.stream_out import StreamOut
4 changes: 0 additions & 4 deletions synapse/client/nodes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from synapse.client.nodes.spike_binner import SpikeBinner
from synapse.client.nodes.spike_detector import SpikeDetector
from synapse.client.nodes.spike_source import SpikeSource
from synapse.client.nodes.stream_in import StreamIn
from synapse.client.nodes.stream_out import StreamOut
from synapse.client.nodes.disk_writer import DiskWriter
from synapse.client.nodes.application_node import ApplicationNode

Expand All @@ -21,7 +19,5 @@
NodeType.kSpikeBinner: SpikeBinner,
NodeType.kSpikeDetector: SpikeDetector,
NodeType.kSpikeSource: SpikeSource,
NodeType.kStreamIn: StreamIn,
NodeType.kStreamOut: StreamOut,
NodeType.kApplication: ApplicationNode,
}
93 changes: 0 additions & 93 deletions synapse/client/nodes/stream_in.py

This file was deleted.

182 changes: 0 additions & 182 deletions synapse/client/nodes/stream_out.py

This file was deleted.

Loading
Loading