the follwing code cannot recognise the
lyapunovspectrum function.lyapunovspectrum(ds_3, 10 ; Ttr= 10.00)Can anyone point out the problem here ?
lyapunovspectrum function.lyapunovspectrum(ds_3, 10 ; Ttr= 10.00)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.
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)
Nope I did not ! But isn’t it supposed to be imported already with DynamicalSystems.jl ?
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:
https://github.com/JuliaDynamics/DynamicalSystems.jl/blob/master/src/DynamicalSystems.jl#L15
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.