JuliaDynamics / DynamicalSystemsBase.jl

Definition of dynamical systems and integrators for DynamicalSystems.jl
Other
53 stars 27 forks source link

finalize v3 #164

Closed Datseris closed 1 year ago

awage commented 1 year ago

Hi! I had a look at your work. It seems that now you have a very general abstract interface for "stepable" dynamical systems. Can we hook the system to plug a cellular automata (thinking Agents.jl). That opens some perspectives on applying the tools in DynamicalSystems.jl to other objects.

Great work!

Datseris commented 1 year ago

Exactly, now a DynamicalSystem is just a flow in a statespace: a steppable object that can be stepped with step! without caring about the internal details. I have already made a parallel dynamical system of a StroboscopicMap, hence computing its lyapunov exponent.

Also yes, I have already created code to hook into Agents.jl. It is the ArbitrarySteppable. I haven't finished it yet, but I am preparing an example. On March 3 I am giving a workshop in both Agents.jl and DynamicalSystems.jl so I will showcase this example there as well :)

codecov-commenter commented 1 year ago

Codecov Report

Merging #164 (9bdf34e) into main (799c0dc) will increase coverage by 0.55%. The diff coverage is 81.03%.

@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
+ Coverage   77.77%   78.33%   +0.55%     
==========================================
  Files          13       14       +1     
  Lines         648      697      +49     
==========================================
+ Hits          504      546      +42     
- Misses        144      151       +7     
Impacted Files Coverage Δ
src/core/dynamicalsystem_interface.jl 76.92% <ø> (ø)
src/core/pretty_printing.jl 0.00% <0.00%> (ø)
src/derived_systems/poincare/hyperplane.jl 42.42% <0.00%> (ø)
src/core_systems/continuous_time_ode.jl 86.53% <62.50%> (-4.58%) :arrow_down:
src/core_systems/arbitrary_steppable.jl 93.33% <93.33%> (ø)
src/core/trajectory.jl 97.50% <100.00%> (ø)
src/derived_systems/parallel_systems.jl 93.97% <100.00%> (+0.38%) :arrow_up:
src/derived_systems/poincare/poincaremap.jl 79.00% <100.00%> (+1.10%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more