CAP_time_detection
- nrv.ui.CAP_time_detection(Voltage, t, t_stim=0, stim_duration=0, tol=0.05, myelinated=False, index=True)[source]
internal use, Return index in the time scale or time of the start and stop of a Compound Action Potentiel
- Parameters:
Voltage (list(float)) – list of voltage value
t (list(float)) – list of time value
t_stim (float) – time of the stimulation (to skip the stimulation artefact)
stim_duration (list(float)) – list of time value
tol (float) – absolute tolerence in Volt
index (bool) – if true the time index is returned, else the time value