unmyelinated_results.detect_start_extrastim
- unmyelinated_results.detect_start_extrastim(threshold=None)
Returns the starting time of extracellular stimulation from axon simulation results
- Parameters:
self (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