Noise

class baseband_tasks.generators.Noise(seed=None)[source] [edit on github]

Bases: object

Helper class providing source callables for NoiseSource.

When called, will provide a frame worth of normally distributed data, but using the Philox bit generator to ensure that if the same frame is read again, the same random data are generated.

Parameters:
seedint

Initial seed for Philox.

Notes

Data is identical between invocations only if seeded identically.

Methods Summary

__call__(sh)

Call self as a function.

Methods Documentation

__call__(sh)[source] [edit on github]

Call self as a function.