Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using new CoupledSDEs #116

Merged
merged 26 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ca5112c
load CoupledSDEs from DynamicalSystemsBase v3.11
reykboerner Oct 2, 2024
b529363
worked on compatibility with new CoupledSDEs
reykboerner Oct 3, 2024
268e9b5
updated LDT functions, made om_action require noise_strength input
reykboerner Oct 3, 2024
3358570
export functions from StochasticSystemsBase
reykboerner Oct 3, 2024
a27b135
worked on updating tests
reykboerner Oct 3, 2024
454162c
CoupledSDEs test's
oameye Oct 6, 2024
5c12110
try out new format action
oameye Oct 6, 2024
0f5318e
turn on all tests
oameye Oct 6, 2024
6881140
format
oameye Oct 6, 2024
06115ab
fix downgrade compat
oameye Oct 6, 2024
c220516
better format CI
oameye Oct 6, 2024
65ec611
update code example in README
reykboerner Oct 8, 2024
fa68b32
fixed Large Deviations tests by normalizing covariance matrix
reykboerner Oct 8, 2024
ec60076
updated simulation functions
reykboerner Oct 9, 2024
b5ecd7d
added simulation tests
reykboerner Oct 9, 2024
5a8f5a4
removed 'simulate', renamed 'relax' to 'deterministic_orbit'
reykboerner Oct 9, 2024
98b5db0
tried to fix docs, still not finding docstrings from DynamicalSystems…
reykboerner Oct 9, 2024
397ba55
add stochasticSystemsBase do docs modules
oameye Oct 10, 2024
78c787a
fixed typo in makedocs
reykboerner Oct 10, 2024
f520ef4
Merge branch 'main' into base_coupledsdes
oameye Oct 11, 2024
d7b2477
exported missing functions, removed unneeded dep
reykboerner Oct 11, 2024
2fbbf33
worked on fixing docs errors
reykboerner Oct 11, 2024
7b57b1e
added dependency to docs
reykboerner Oct 11, 2024
d9e2845
added another dep to docs
reykboerner Oct 11, 2024
59af416
updated changelog to v0.4.0
reykboerner Oct 11, 2024
ffd0dad
fixed errors in docstrings
reykboerner Oct 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Dierckx = "0.5.3"
DiffEqNoiseProcess = "5.22"
DocStringExtensions = "0.9.3"
Documenter = "^1.4.1"
DynamicalSystemsBase = "3.7.1"
DynamicalSystemsBase = "3.11.1"
ExplicitImports = "1.9"
Format = "1"
ForwardDiff = "0.10.36"
Expand Down
230 changes: 0 additions & 230 deletions src/CoupledSDEs.jl

This file was deleted.

62 changes: 0 additions & 62 deletions src/CoupledSDEs_utils.jl

This file was deleted.

33 changes: 18 additions & 15 deletions src/CriticalTransitions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@ module CriticalTransitions

# Base
using Statistics: Statistics, mean
using LinearAlgebra: LinearAlgebra, Diagonal, I, norm, tr, dot
using LinearAlgebra: LinearAlgebra, I, norm, dot, tr
using StaticArrays: StaticArrays, SVector

# core
using DynamicalSystemsBase:
DynamicalSystemsBase,
ContinuousTimeDynamicalSystem,
StateSpaceSets,
dimension,
dynamic_rule
# Core
using DiffEqNoiseProcess: DiffEqNoiseProcess
using OrdinaryDiffEq: OrdinaryDiffEq, Tsit5
using StochasticDiffEq:
Expand All @@ -25,6 +19,19 @@ using StochasticDiffEq:
step!,
terminate!,
u_modified!
using DynamicalSystemsBase:
DynamicalSystemsBase,
#ContinuousTimeDynamicalSystem,
# CoupledODEs,
CoupledSDEs,
#StateSpaceSets,
#dimension,
dynamic_rule,
current_state,
set_state!

#StochasticSystemsBase = Base.get_extension(DynamicalSystemsBase, :StochasticSystemsBase)
#using DynamicalSystemsBase.StochasticSystemsBase: CoupledSDEs

using ForwardDiff: ForwardDiff
using IntervalArithmetic: IntervalArithmetic, interval
Expand All @@ -51,8 +58,7 @@ using Reexport: @reexport

include("extention_functions.jl")
include("utils.jl")
include("CoupledSDEs.jl")
include("CoupledSDEs_utils.jl")
include("system_utils.jl")
include("io.jl")
include("trajectories/simulation.jl")
include("trajectories/transition.jl")
Expand All @@ -67,13 +73,9 @@ using .CTLibrary

# Core types
export CoupledSDEs,
idfunc!,
idfunc,
add_noise_strength,
noise_process,
covariance_matrix,
noise_strength,
CoupledODEs
diffusion_matrix
oameye marked this conversation as resolved.
Show resolved Hide resolved

# Methods
export equilib, basins, basinboundary, basboundary
Expand All @@ -82,6 +84,7 @@ export transition, transitions
export fw_action, om_action, action, geometric_action
export min_action_method, geometric_min_action_method
export make_jld2, make_h5, intervals_to_box
export covariance_matrix, diffusion_matrix
# export basins, basinboundary
# export edgetracking, bisect_to_edge, AttractorsViaProximity
# export fixedpoints
Expand Down
Loading
Loading