network_operation function
(Shortest import: from brian2 import network_operation)
-
brian2.core.operations.network_operation(when=None)[source]
Decorator to make a function get called every time step of a simulation.
The function being decorated should either have no arguments, or a single
argument which will be called with the current time t
.