mappy_ds.Mode#

class mappy_ds.Mode(name, fun, in_trajectory)#

Abstract base class of all modes.

Parameters:
namestr

Unique name of the mode, used in transition rules.

funSystemFunction

Function governing the evolution of the state in the mode.

in_trajectorybool

Whether the mode contributes a segment to computed trajectories.

Properties

cod_dim

Dimension of the state space the mode ends in.

dom_dim

Dimension of the state space the mode starts in.

Methods

step(y0[, params, jacobian, hessian, ...])

Evolve y0 through the mode.