Skip to content

Commit

Permalink
Merge branch 'main' into invalidities
Browse files Browse the repository at this point in the history
  • Loading branch information
oameye authored Jul 23, 2024
2 parents e6e8ecb + 0584ec7 commit aa6fde6
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions docs/src/man/CoupledSDEs.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,21 +122,18 @@ CorrelatedWienerProcess
```

## Interface to `DynamicalSystems.jl`
#### Converting between `CoupledSDEs` and `CoupledODEs`

!!! tip "Analyzing deterministic dynamics with DynamicalSystems.jl"
The deterministic part of a [`CoupledSDEs`](@ref) system can easily be extracted as a
[`CoupledODEs`](https://juliadynamics.github.io/DynamicalSystems.jl/dev/tutorial/#DynamicalSystemsBase.CoupledODEs), a common subtype of a `ContinuousTimeDynamicalSystem` in DynamicalSystems.jl.


-
type of `DynamicalSystems.jl` using the function [`CoupledODEs`](@ref). Vice vera,
a `CoupledODEs` system can be converted into a `CoupledSDEs` via `CoupledSDEs(ds::CoupledODEs, g)` with g the noise function.

#### Converting between `CoupledSDEs` and `CoupledODEs`

- `CoupledODEs(sde::CoupledSDEs)` extracts the deterministic part of `sde` as a `CoupledODEs`
- `CoupledSDEs(ode::CoupledODEs, g)`, with `g` the noise function, turns `ode` into a `CoupledSDEs`

```@docs
CoupledODEs
```
For example, the
Lyapunov spectrum of a `CoupledSDEs` in the absence of noise, here exemplified by the
FitzHugh-Nagumo model, can be computed by typing:
Expand All @@ -157,8 +154,4 @@ end

sys = CoupledSDEs(fitzhugh_nagumo, idfunc, zeros(2), [1.,3.,1.,1.,1.,0.], 0.1)
ls = lyapunovspectrum(CoupledODEs(sys), 10000)
```

```@docs
CoupledODEs
```

0 comments on commit aa6fde6

Please sign in to comment.