Mixer¶
- class acoular.tprocess.Mixer¶
Bases:
TimeInOut
Mixes the signals from several sources.
- source = Trait(SamplesGenerator)¶
Data source;
SamplesGenerator
object.
- sources = List( Instance(SamplesGenerator, ()) )¶
List of additional
SamplesGenerator
objects to be mixed.
- validate_sources()¶
validates if sources fit together
- result(num)¶
Python generator that yields the output block-wise. The output from the source and those in the list sources are being added.
- Parameters:
- numinteger
This parameter defines the size of the blocks to be yielded (i.e. the number of samples per block).
- Returns:
- Samples in blocks of shape (num, numchannels).
The last block may be shorter than num.