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
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"array-api-compat>=1.11.0",
"ezmsg>=3.7.3",
"ezmsg-baseproc>=1.6.0",
"ezmsg-sigproc>=2.19.0",
"ezmsg>=3.9.0",
"ezmsg-baseproc>=1.6.1",
"ezmsg-sigproc>=2.20.2",
"ezmsg-event>=0.8.0",
"numpy>=1.26.0",
"sparse>=0.17.0",
Expand All @@ -26,7 +26,7 @@ dev = [
"typer>=0.20.0",
"scipy-stubs>=1.15.3.0",
"ezmsg-peripheraldevice>=0.3.0",
"ezmsg-lsl>=1.5.1",
"ezmsg-lsl>=1.6.0",
]
lint = [
"ruff",
Expand Down
2 changes: 1 addition & 1 deletion src/ezmsg/simbiophys/dnss/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class DNSSSynth(ez.Collection):

SETTINGS = DNSSSynthSettings

OUTPUT_SIGNAL = ez.OutputStream(AxisArray)
OUTPUT_SIGNAL = ez.OutputTopic(AxisArray)

# Clock produces timestamps at the block rate
CLOCK = Clock()
Expand Down
2 changes: 1 addition & 1 deletion src/ezmsg/simbiophys/eeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class EEGSynth(ez.Collection):

SETTINGS = EEGSynthSettings

OUTPUT_SIGNAL = ez.OutputStream(AxisArray)
OUTPUT_SIGNAL = ez.OutputTopic(AxisArray)

CLOCK = Clock()
NOISE = WhiteNoise()
Expand Down
4 changes: 2 additions & 2 deletions src/ezmsg/simbiophys/system/velocity2ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ class VelocityEncoder(ez.Collection):
SETTINGS = VelocityEncoderSettings

# Velocity inputs (via mouse / gamepad system, or via task parsing system)
INPUT_SIGNAL = ez.InputStream(AxisArray)
INPUT_SIGNAL = ez.InputTopic(AxisArray)
COORDS = CoordinateSpaces() # Cartesian to polar (done once, shared by both branches)
SPIKES = Velocity2Spike()
LFP = Velocity2LFP()
ADD = Add() # Add colored noise and waveforms
OUTPUT_SIGNAL = ez.OutputStream(AxisArray)
OUTPUT_SIGNAL = ez.OutputTopic(AxisArray)

def configure(self) -> None:
self.COORDS.apply_settings(CoordinateSpacesSettings(mode=CoordinateMode.CART2POL, axis="ch"))
Expand Down
4 changes: 2 additions & 2 deletions src/ezmsg/simbiophys/system/velocity2lfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ class Velocity2LFP(ez.Collection):
SETTINGS = Velocity2LFPSettings

# Polar velocity inputs (magnitude, angle)
INPUT_SIGNAL = ez.InputStream(AxisArray)
INPUT_SIGNAL = ez.InputTopic(AxisArray)
BETA_ENCODER = CosineEncoderUnit()
CLIP_BETA = Clip()
PINK_NOISE = DynamicColoredNoiseUnit()
MIX_NOISE = AffineTransform() # Project n_lfp_sources to output_ch sensors
OUTPUT_SIGNAL = ez.OutputStream(AxisArray)
OUTPUT_SIGNAL = ez.OutputTopic(AxisArray)

def configure(self) -> None:
# Input is polar coords: [magnitude, angle]
Expand Down
4 changes: 2 additions & 2 deletions src/ezmsg/simbiophys/system/velocity2spike.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ class Velocity2Spike(ez.Collection):
SETTINGS = Velocity2SpikeSettings

# Polar velocity inputs (magnitude, angle)
INPUT_SIGNAL = ez.InputStream(AxisArray)
INPUT_SIGNAL = ez.InputTopic(AxisArray)
RATE_ENCODER = CosineEncoderUnit()
CLIP_RATE = Clip()
SPIKE_EVENT = PoissonEventUnit()
WAVEFORMS = SparseKernelInserterUnit()
OUTPUT_SIGNAL = ez.OutputStream(AxisArray)
OUTPUT_SIGNAL = ez.OutputTopic(AxisArray)

def configure(self) -> None:
self.RATE_ENCODER.apply_settings(
Expand Down
Loading