Figure_elec.add_nerve_plot
- Figure_elec.add_nerve_plot(data, add_elec=True, drive_pair=(0, 2), e_label=True, n_lwidth=2, e_lwidth=3, alpha_lab=1.2, **kwgs)[source]
Draw the nerve cross-section and optionally the cuff electrodes in the center axis.
- Parameters:
data (Any) – Object or path loadable with
load_any().add_elec (bool, optional) – If
True, overlay cuff electrodes.drive_pair (tuple[int, int], optional) – Electrode pair highlighted as the current-driving pair.
e_label (bool, optional) – If
True, display electrode labels.n_lwidth (float, optional) – Line width used for the nerve outline.
e_lwidth (float, optional) – Line width used for electrodes.
alpha_lab (float, optional) – Alpha factor used for electrode labels.
**kwgs (dict) – Additional keyword arguments forwarded to
add_nerve_plot().