brainevent.get_pallas_lfsr_rng_class

brainevent.get_pallas_lfsr_rng_class#

brainevent.get_pallas_lfsr_rng_class()[source]#

Return the Pallas RNG class for the current global LFSR algorithm.

The active algorithm is read from the global configuration via brainevent.config.get_lfsr_algorithm().

Returns:

The Pallas RNG class (a subclass of LFSRBase) implementing the currently configured LFSR algorithm.

Return type:

type[LFSRBase]

See also

PallasLFSRRNG

Instantiate the configured RNG class directly.