neat.NeuronSimTree.add_sin_clamp¶
- NeuronSimTree.add_sin_clamp(loc, amp, delay, dur, bias, freq, phase)[source]¶
Injects a sinusoidal current at a given lcoation
- Parameters:
loc (dict, tuple or neat.MorphLoc) – The location of the current.
amp (float) – The amplitude of the current (nA)
delay (float) – The delay of the current onset (ms)
dur (float) – The duration of the current (ms)
bias (float) – Constant baseline added to the sinusoidal waveform (nA)
freq (float) – Frequency of the sinusoid (Hz)
phase (float) – Phase of the sinusoid (rad)