neat.NeuronCompartmentTree.add_sin_clamp¶
- NeuronCompartmentTree.add_sin_clamp(loc_idx, *args, **kwargs)[source]¶
Injects a sinusoidal current at a given lcoation
- Parameters:
loc (int, 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)