Generators (baseband_tasks.generators)

generators contains helpers to generate streams of data.

Reference/API

baseband_tasks.generators Module

Collection of source generator classes.

All these look like stream readers and thus are useful to test pipelines with artificial data.

Classes

StreamGenerator(function, shape, start_time, ...)

Generator of data produced by a user-provided function.

EmptyStreamGenerator(shape, start_time, ...)

Generator of an empty data stream.

Noise([seed])

Helper class providing source callables for NoiseSource.

NoiseGenerator(shape, start_time, ...[, ...])

Genertator of a stream of normally distributed noise.

Class Inheritance Diagram

Inheritance diagram of baseband_tasks.generators.StreamGenerator, baseband_tasks.generators.EmptyStreamGenerator, baseband_tasks.generators.Noise, baseband_tasks.generators.NoiseGenerator