pyoculus.solvers.lyapunov_exponent
- class pyoculus.solvers.lyapunov_exponent.LyapunovExponent(problem, nsave=20, every=100)
Class for computing the Lyapunov Exponent
- compute(x, eps=None, base=np.float64(2.718281828459045))
Compute the maximal Lyapunov exponents
Sprott, Chaos and Time-Series Analysis (Oxford University Press, 2003), pp.116-117.
- Parameters:
x – the initial point
eps – the perturbation, default is a random direction with norm of the square root of the machine precision
base – the base of the logarithm, default is exp(1)
- Returns:
the maximal Lyapunov exponents
- Return type:
np.array