Package PyDSTool :: Package Toolbox :: Module event_driven_simulator :: Class simulator
[hide private]
[frames] | no frames]

Class simulator

source code

object --+
         |
        simulator

Mapping-based, event-driven simulator for dynamical systems reductions.

Instance Methods [hide private]
 
__init__(self, nodes, connections, state=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set_node_state(self) source code
 
validate(self) source code
 
run(self, history, t_end)
history is a dictionary of t -> (event node name, {node name: state}) values.
source code
 
compile_next_state(self, nodes) source code
 
display(self) source code
 
extract_history_events(self) source code
 
display_raster(self, new_figure=True) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, nodes, connections, state=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

run(self, history, t_end)

source code 

history is a dictionary of t -> (event node name, {node name: state}) values. Initial time of simulator will be the largest t in this dictionary.