pyrates-neuroscience / PyCoBi

Python package for automated bifurcation analysis and parameter continuations, based on Auto-07p.
https://pycobi.readthedocs.io/en/latest/
GNU General Public License v3.0
17 stars 2 forks source link

Unstable solutions not dotted #2

Closed tt386 closed 1 month ago

tt386 commented 1 month ago

Hello,

I have cloned the master branch of the git repo, and using the qif_sfa.py example script. I notice that the unstable solutions between the Hopf bifurcations are solid, whereas in the paper it's shown to be properly dotted. Curiously, the subsequent plot shows that dotted lines are possible, just still not between the Hopf bifurcations. Fig2 Fig3

As I mentioned in a previous post, my versions are (from the cloned repo): PyCoBi: 0.8.7 PyRates: 1.0.6

Richert commented 1 month ago

Hi Thorsten,

thank you very much for bringing this to my attention. This is a bug and I have identified what caused it. It was a problem with automatically merging Auto-07p solution branches. That led to wrong solution indices in PyCoBi, causing it to pull up the stability indicators for the wrong solutions. I must have caused this bug at some point, when I changed how solutions are merged in PyCoBi. I have just implemented and pushed a fix to the master branch. Will include that in a new release of PyCoBi later today, probably.

Let me know if those changes solve the problem for you as well, then I will close this issue.

tt386 commented 1 month ago

Hi Richard,

It looks like this has solved the problem! Thank you very much.