mappy_ds.StepResult#

class mappy_ds.StepResult(y, jac=None, hes=None, jac_p=None, hes_p=None, border=None, t=None, segment=None)#

Result of Mode.step().

Attributes:
ynumpy.ndarray

State at the end of the mode, shape (cod_dim,).

jacnumpy.ndarray or None

Jacobian matrix of the mode map, jac[i, j] = ∂y_i/∂y0_j, shape (cod_dim, dom_dim). None if not requested.

hesnumpy.ndarray or None

Hessian tensor of the mode map, hes[i, j, k] = ∂²y_i/(∂y0_j ∂y0_k), shape (cod_dim, dom_dim, dom_dim). None if not requested.

jac_pnumpy.ndarray or None

Derivative of the mode map with respect to the parameters named in param_keys of Mode.step(), jac_p[i, m] = ∂y_i/∂p_m, shape (cod_dim, len(param_keys)). None if not requested.

hes_pnumpy.ndarray or None

Mixed second derivative hes_p[i, j, m] = ∂²y_i/(∂y0_j ∂p_m), shape (cod_dim, dom_dim, len(param_keys)). None if not requested.

borderint or None

Index of the border that terminated a continuous mode, None for discrete modes and for continuous modes without borders.

tfloat or None

Time spent in a continuous mode, None for discrete modes.

segmentTrajectorySegment or None

Sampled trajectory, if requested and the mode is in_trajectory.