System.store_switch_times#

System.store_switch_times(models, eps=0.0001)[source]#

Store event switching time in a sorted Numpy array in System.switch_times and an OrderedDict System.switch_dict.

System.switch_dict has keys as event times and values as the OrderedDict of model names and instances associated with the event.

Parameters:
modelsOrderedDict

model name : model instance

epsfloat

The small time step size to use immediately before and after the event

Returns:
array-like

self.switch_times