-
Notifications
You must be signed in to change notification settings - Fork 0
preview_stimulus.m
Calvin Eiber edited this page Jun 30, 2021
·
1 revision
Preview stimulus waveform for models.nerve_stimulation and models.axon_thresholds. Part of package +plots.
By default waveforms are specified in the interval ±1, and this normalised profile is multiplied by the stimulus amplitude (in mA) and the extracellular potential (in mV / mA, generated using models.nerve_anatomy to determine the stimulus as experienced by the axon.
default values, bipolar biphasic E12 stimulus:
stimulus.t = [30 30.1 30.15 30.25];
stimulus.p = [ 1 -1; 0 0; -1 1; 0 0];
stimulus.a = (current levels in mA)
at each time-point in stimulus.t
, the stimulus current through each of the first nE
electrodes is set to the corresponding row from nT x nE
stimulus pattern matrix stimulus.p
. For models.nerve_stimulation only, the stimulus currents specified in stimulus.a
(which can also be expressed in bionics CL notation) are used.