Getting started
Installation
To install the Julia language, we recommend juliaup.
The CriticalTransitions.jl package can be installed from Github via the Julia package manager:
using Pkg; Pkg.add(url="https://github.com/juliadynamics/CriticalTransitions.jl.git")You can then load the package with using CriticalTransitions.
The package is currently tested to be compatible with Julia versions 1.10 and 1.11.
Basic usage
The general workflow of CriticalTransitions.jl essentially follows two steps, similar to DynamicalSystems.jl:
- Define your dynamical system (see Defining a forced dynamical system)
- Investigate the system by calling functions (see Index)
Some functions are only loaded as extensions when loading other dependency packages (see Extensions).
Documentation
The Tutorial and code examples in the Examples section illustrate some use cases of the package. All available functions and types are documented in the Manual section (see Index for an overview).
Index
A quick overview of available features:
Defining a system and its forcing
DynamicalSystemsBase.CoupledODEsDynamicalSystemsBase.CoupledSDEs(alias forStochSystem)RateSystemForcingProfile
System analysis and simulation
Attractors.EdgeTrackingResultsAttractors.bisect_to_edgeAttractors.edgetrackingChaosTools.fixedpointsCriticalTransitions.deterministic_orbitDynamicalSystemsBase.trajectory
Stochastic dynamics: Transition path sampling, large deviation theory
CriticalTransitions.TransitionEnsembleCriticalTransitions.TransitionStatisticsCriticalTransitions.transitionCriticalTransitions.transitionsCriticalTransitions.MinimumActionPathCriticalTransitions.SgmamSystemCriticalTransitions.actionCriticalTransitions.fw_actionCriticalTransitions.geometric_actionCriticalTransitions.geometric_min_action_methodCriticalTransitions.min_action_methodCriticalTransitions.om_actionCriticalTransitions.sgmamCriticalTransitions.string_method
Nonautonomous dynamics: Rate-induced tipping
More
Extensions
- Loading the
ChaosToolsdependency makes the functionsfixedpointsandintervals_to_boxavailable.
using CriticalTransitions
using ChaosTools
# Now the following functions are available
fixedpoints()
intervals_to_box()- Loading the
Attractorsdependency makes the functionsedgetrackingandbisect_to_edgeavailable.
using CriticalTransitions
using Attractors
# Now the following functions are available
edgetracking()
bisect_to_edge()