BaseSampler#
- class snake.core.sampling.base.BaseSampler(*, constant=True)[source]#
Bases:
object
Sampler Interface.
A Sampler is designed to generate a sampling pattern.
Examples
>>> S = Sampler() >>> S.generate()
Methods
__init__
Export the Sampling pattern to file.
Generate the next frame.
Attributes
constant
Get a logger.
- Parameters:
constant (bool)