SpectralNoiseFactory
- class hcipy.util.SpectralNoiseFactory(psd, output_grid)
Bases:
object
Methods Summary
make_random
([seed])Make a single realization of the spectral noise.
Methods Documentation
- make_random(seed=None)
Make a single realization of the spectral noise.
This function needs to be implemented in all child classes.
- Parameters:
- seedNone, int, array of ints, SeedSequence, BitGenerator, Generator
A seed to initialize the spectral noise. If None, then fresh, unpredictable entry will be pulled from the OS. If an int or array of ints, then it will be passed to a numpy.SeedSequency to derive the initial BitGenerator state. If a BitGenerator or Generator are passed, these will be wrapped and used instead. Default: None.
- Returns:
- SpectralNoise
A realization of the spectral noise, that can be shifted and evaluated.