mappy_ds.MapResult#

class mappy_ds.MapResult(y, jac=None, hes=None, jac_p=None, hes_p=None, param_keys=(), mode_history=<factory>, trajectory=None)#

Image of a point under a Map with derivatives.

Attributes:
ynumpy.ndarray

Image of the initial state.

jacnumpy.ndarray or None

Jacobian matrix jac[i, j] = ∂y_i/∂y0_j if requested.

hesnumpy.ndarray or None

Hessian tensor hes[i, j, k] = ∂²y_i/(∂y0_j ∂y0_k) if requested.

jac_pnumpy.ndarray or None

Derivative with respect to the parameters, jac_p[i, m] = ∂y_i/∂p_m with m indexing param_keys, if requested.

hes_pnumpy.ndarray or None

Mixed second derivative hes_p[i, j, m] = ∂²y_i/(∂y0_j ∂p_m) if requested.

param_keystuple of str

Parameters the columns of jac_p refer to (the map’s Map.param_keys).

mode_historylist of str

Names of the modes visited, starting with the initial mode and ending with the final one.

trajectoryTrajectory or None

Recorded trajectory if requested.

Properties

eigvals

Eigenvalues (characteristic multipliers) of the Jacobian.

eigvecs

Eigenvectors of the Jacobian, as columns.

end_mode

Name of the mode the image belongs to.