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

Provide "rematch" function #58

Closed Datseris closed 1 year ago

Datseris commented 1 year ago

After we are finished with our recurrence-based continuation, we have matched attractors. However, it may be that different matching distance, or threshold, would provide better continuation curves.

Thankfully, all the information necessary to "re-match" attractors is stored in the output, and hence one doesn't need to call the continuation function again. Only the match_attractor_ids!. We can provide a convenience function rematch!(basin_fractions, attractors_info; distance, threshold) that does the 3-4 function calls necessary to do the rematch.