brainpy.inputs.ramp_input#
- brainpy.inputs.ramp_input(c_start, c_end, duration, t_start=0, t_end=None, dt=None)[source]#
Get the gradually changed input current.
- Parameters:
- Returns:
current (
bm.ndarray) – The formatted current
Get the gradually changed input current.
current (bm.ndarray) – The formatted current