spiketools.utils.random.set_random_seed

spiketools.utils.random.set_random_seed(seed_value=0)[source]

Set the random seed value.

Parameters:
seed_valueint, optional

Value to set the random seed as.

Notes

This sets the random state of the global numpy state.