ezmsg.simbiophys.dnss.synth#
DNSS Synthesizer - Combined spike and LFP signal generation.
Classes
- class DNSSSynth(*args, settings=None, **kwargs)[source]#
Bases:
CollectionDNSS Signal Synthesizer.
A Collection that generates combined DNSS spike and LFP signals. Uses a common Clock to synchronize: - Spike generation (sparse events with waveform insertion) - LFP generation (sum of sinusoids)
The final output is the sum of spike waveforms and LFP signal.
- Network flow:
Clock -> {SpikeGenerator, LFPGenerator} SpikeGenerator -> KernelInserter -> Add.A LFPGenerator -> Add.B Add -> OUTPUT
- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
DNSSSynthSettings
- OUTPUT_SIGNAL = OutputStream:unlocated[AxisArray](self.num_buffers=32, self.force_tcp=False)#
- CLOCK = <ezmsg.baseproc.clock.Clock object>#
- SPIKE = <ezmsg.simbiophys.dnss.spike.DNSSSpikeUnit object>#
- KERNEL_INSERT = <ezmsg.event.kernel_insert.SparseKernelInserterUnit object>#
- LFP = <ezmsg.simbiophys.dnss.lfp.DNSSLFPUnit object>#
- ADD = <ezmsg.sigproc.math.add.Add object>#
- configure()[source]#
A lifecycle hook that runs when the Collection is instantiated.
This is the best place to call
Unit.apply_settings()on each member Unit of the Collection. Override this method to perform collection-specific configuration of child components.- Return type:
- network()[source]#
Override this method and have the definition return a NetworkDefinition which defines how InputStreams and OutputStreams from member Units will be connected.
The NetworkDefinition specifies the message routing between components by connecting output streams to input streams.
- Returns:
Network definition specifying stream connections
- Return type:
NetworkDefinition