Problem using ```lyapunov spectrum```


the follwing code cannot recognise the lyapunovspectrum function.
lyapunovspectrum(ds_3, 10 ; Ttr= 10.00)
Can anyone point out the problem here ?

Please provide a bit more information; which packages are you using, etc

Mainly it is the DynamicalSystem.jl that I’m using for this code. The problem is whatever the function lyapuonvspectrum is supposed to do according to Lyapunov Exponents · DynamicalSystems.jl
is rahter being done by the function lyapunovs, however their website is showing something different.

1 Like

This appears to be from the ChaosTools package, did you do using ChaosTools?

This works for me:

julia> using ChaosTools

julia> lyapunovspectrum
lyapunovspectrum (generic function with 8 methods)
1 Like

Nope I did not ! But isn’t it supposed to be imported already with DynamicalSystems.jl ?

1 Like

Yes, correct. In a fresh Julia session (without using ChaosTools):

julia> using DynamicalSystems

julia> lyapunovspectrum
lyapunovspectrum (generic function with 8 methods)

DynamicalSystems reexports ChaosTools, see here:

1 Like

Well then what exactly went wrong ?

I don’t know, you tell me? You’ve just posted a screnshoot where lyapunovspectrum isn’t defined, which can occur in loads of ways (e.g. not loading any packages). If you want others to be able to figure out what went wrong in your specific case, you should post an MWE.

1 Like