brainevent.config.set_lfsr_algorithm

brainevent.config.set_lfsr_algorithm#

brainevent.config.set_lfsr_algorithm(algorithm)[source]#

Set the global LFSR algorithm used by JIT connectivity kernels.

Parameters:

algorithm (str) – One of 'lfsr88', 'lfsr113', or 'lfsr128'.

Raises:

ValueError – If algorithm is not one of the valid choices.

See also

get_lfsr_algorithm

Query the current LFSR algorithm.

Examples

>>> import brainevent
>>> brainevent.config.set_lfsr_algorithm('lfsr113')
>>> brainevent.config.get_lfsr_algorithm()
'lfsr113'