Core (mappy_ds)#
The top-level package. All names below are importable directly from
mappy_ds.
- mappy_ds.__version__: str#
Version string of the installed
mappy-dsdistribution ("0+unknown"when running from a source tree that is not installed).
System functions#
Decorators that turn a plain Python function f(y, params) into a
SystemFunction whose Jacobian and Hessian are derived symbolically.
See Jacobian and Hessian tensor.
|
Declare the right-hand side of an ODE \(\dot y = f(y, p)\). |
|
Declare a discrete map \(y \mapsto f(y, p)\). |
|
Declare a border (section) \(b(y, p) = 0\) of a continuous mode. |
|
A vector-valued function \(f(y, p)\) with symbolic derivatives. |
Modes#
The smooth building blocks of a hybrid system. See Concept of modes.
|
Abstract base class of all modes. |
|
A mode whose evolution follows an autonomous ODE until a border is hit. |
|
A mode whose evolution is a single application of a map. |
|
Result of |
Maps#
|
Abstract base class of maps built from modes. |
|
Poincaré map of a hybrid system described by modes and transitions. |
|
A discrete map \(y \mapsto f(y, p)\) on \(\mathbb{R}^n\). |
|
Image of a point under a |
- mappy_ds.Transitions#
Type of the transition rules accepted by
PoincareMap:Mapping[str, str | Sequence[str]]. Each key is a mode name; the value is the name of the next mode, or for a continuous mode one next mode per border (in the order ofContinuousMode.borders).
Trajectories#
|
A trajectory as a sequence of |
|
The part of a trajectory spent in a single mode. |
Exceptions#
All exceptions raised deliberately by the package derive from
MappyError.
Base class of all errors raised by |
|
A system function could not be evaluated with symbolic arguments. |
|
|
A mode name does not appear in the mode set of a Poincaré map. |
|
The transition rules of a Poincaré map are inconsistent. |
|
A continuous mode reached |