JuliaDynamics / Attractors.jl

Find attractors (and their basins) of dynamical systems. Perform global continuation. Study global stability (a.k.a. non-local, or resilience). Also tipping points functionality.
MIT License
32 stars 6 forks source link

`convergence` output can have 0 or even negative values #127

Open Datseris opened 4 months ago

Datseris commented 4 months ago

After my updates to the convergence output in

fractions, labels, convergence = convergence_and_basins_fractions(mapper, ics; show_progress = false)

I've noticed that simulation results can have 0 or even negative convergence for the recurrences mapper.

Clearly, this is because of errors in the new logic I've implemented that adjusts convergence counts given the state of the finite state machine. I need to fix this, and I need to implement a robust test case for it as well to ensure it is working properly...