dymad.sako.plotting

Optional plotting adapter for spectral-analysis compatibility surfaces.

Functions

per_state_err(prd, ref)

Compute per-state prediction error between trajectories.

Classes

SpectralPlottingAdapter(analysis)

Holds plotting helpers so numerical analysis seams stay presentation-free.

class dymad.sako.plotting.SpectralPlottingAdapter(analysis)

Bases: object

Holds plotting helpers so numerical analysis seams stay presentation-free.

plot_eigfun_2d(rngs, Ns, idx, mode='angle', space='full', ncols=2, figsize=(6, 10), fig=None)

Plot 2D eigenfunctions as contours.

plot_eigjac_contour(ref=None, rng=None, eig='func', lam='ct', comp='ri', idx='all', shape=(), contour_args=None, **kwargs)

Plot contour maps of Jacobian eigfunction/eigmode components.

plot_eigs(fig=None, plot_full='bo', plot_filt='r^', mode='disc')

Plot the eigenvalues in the complex plane.

plot_pred(x0s, ts, ref=None, ifobs=False, idx='all', ncols=1, figsize=(6, 8), title=None, fig=None)

Plot predicted trajectories in data space or latent space.

plot_vec_line(idx, which='func', modes=None, ncols=1, figsize=(6, 10))

Plot slices of eigenfunctions/eigenmodes as vectors.

dymad.sako.plotting.per_state_err(prd, ref)

Compute per-state prediction error between trajectories.

Return type:

ndarray