detect_start_extrastim
- nrv.ui.detect_start_extrastim(results_sim, threshold=None)[source]
Returns the starting time of extracellular stimulation from axon simulation results
- Parameters:
results_sim (dict) – results of axon.simulate method
threshold (float) – Current threshold (uA) to consider the stimulation started, if None take the time of second point of the stimulation, by default None
- Returns:
t_start – list of stimulation starting time in ms, float if only one stimulation and None if no stimulation
- Return type:
list or float or None