ezmsg.simbiophys.eeg#
EEG signal synthesis.
Classes
- class EEGSynth(*args, settings=None, **kwargs)[source]#
Bases:
CollectionA Collection that generates synthetic EEG signals.
Combines white noise with alpha oscillations using a diamond flow: Clock -> {Noise, Oscillator} -> Add -> Output
- Network flow:
Clock -> {Noise, Oscillator} Noise -> Add.A Oscillator -> Add.B Add -> OUTPUT
- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
EEGSynthSettings
- OUTPUT_SIGNAL = OutputStream:unlocated[AxisArray](self.num_buffers=32, self.force_tcp=False)#
- CLOCK = <ezmsg.baseproc.clock.Clock object>#
- NOISE = <ezmsg.simbiophys.noise.WhiteNoise object>#
- OSC = <ezmsg.simbiophys.oscillator.SinGenerator 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