seed function

(Shortest import: from brian2 import seed)

brian2.devices.device.seed(seed=None)[source]

Set the seed for the random number generator.