Generate

class neuxus.nodes.generate.Generator(generator, nb_channels, sampling_frequency, min_chunk_size=32)[source]

Generate signals for testing purpose

Attributes:
  • output (Port): Output port

Args:
  • generator (str): Type of generator used among [‘random’, ‘oscillator’, ‘simulation’]

  • nb_channels (int): Number of channels to send in output

  • sampling_frequency (float): Sampling frequency of the output

  • min_chunk_size (int): Minimum number of rows per output chunk, default is 32

Example:

Generator(‘random’, 4, 500) Generator(‘oscillator’, 16, 250) Generetor(‘simulation’, 32, 500, 16)