stimulus.biphasic_pulse
- stimulus.biphasic_pulse(start, s_cathod, t_stim, s_anod, t_inter, anod_first=False)[source]
Create a biphasic pulse waveform
- Parameters:
start (float) – starting time of the waveform, in ms
s_cathod (float) – cathodic (negative stimulation value) current, in uA
t_stim (float) – stimulation time, in ms
s_anod (float) – anodic (positive stimulation value) current and, in uA
t_inter (float) – inter pulse timing, in ms
anod_first (bool) – if true, stimulation is anodic and begins with the anodic value and is balanced with cathodic value, else stimuation is cathodic and begins with the cathodic value and is balances with anodic value, by default set to False (cathodic first as most stimulation protocols)
Warning
s_cathod must always positive, the user give here the absolute value