navis.interfaces.neuron.network.PointNetwork.add_background_noise¶
- PointNetwork.add_background_noise(ids, frequency, randomness=0.5, independent=True)[source]¶
Add background noise to given neurons.
- Parameters:
ids (hashable | iterable) – IDs of neurons to add noise to.
frequency (int | float | iterable) – Frequency [Hz] of background noise. If iterable must match length of ids.
randomness (float [0-1]) – Randomness of spike timings.
independent (bool) – If True (default), each neuron will get its own independent noise stimulus.