pydstool | PyDSTool main development repo
kandi X-RAY | pydstool Summary
kandi X-RAY | pydstool Summary
PyDSTool main development repo
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Execute the ODE system
- Searches through the model
- Return True if val is contained in interval
- Set f_params
- Generate nullclines for nullclines
- Compile the shared library
- Create a new curve
- Loads the shared library
- Performs an ODE system
- Performs an ODE computation
- R Finds the saddleman manifold
- Compute the model for a given trajectory
- Initialize the autocore module
- Calculate statistics for a covered array
- Sample from the trajectory
- Generate a dictionary of auxiliary functions
- Create a ZeroEvent expression
- Convert a qexpr expression into a function
- Generate self - auxiliary functions
- Compute latent variables
- Compute a trajectory segment
- Searches for an event
- Generate an adjoint PRC
- Create a spiffyodel object
- Given a list of criteria and a set of criteria return a dictionary of transition intervals
- Make channel rates
pydstool Key Features
pydstool Examples and Code Snippets
Community Discussions
Trending Discussions on pydstool
QUESTION
I'm trying to couple several Quadratic integrate-and-fire neurons.
My script works successfully with two neurons, but when I modified the script for 3 neurons, I noticed that the voltage of the third neuron suddenly explodes and therefore, the integration fails.
I did some basic analysis, and looking at the solution array, my guess is that the event detection of scipy.solve_ivp can't detect when two neurons fire at the same time. My reason for saying this is that the 2nd and 3rd neurons' firing rate should be identical, since they only neuron with an external current is the 1st one.
However, while they both fire together, the event detection only detects one event, and therefore fails to reset the voltage of the other one, hence the exponential growth.
My ultimate goal would be to couple this with other types of neurons, but since many of those have intrinsic repolarization dynamics, event handling of QIFs is the crucial part of scaling the network.
...ANSWER
Answered 2020-Feb-09 at 17:46You are indeed correct, solve_ivp
does not detect additional events that happen at the same time (outside of situations where you duplicate a component as here it is highly unlikely to arrive at such a situation in a numerical simulation). You can test this manually, as an event is a root of the event function. So set
QUESTION
What are libraries packages available in Python for the simulation and bifurcation study of dynamical systems?
I want to study the bifurcation phenomenon in ordinary differential equations. I know that there is AUTO in Fortran. I also found PyDSTool in Pyhton. The issue with PyDSTool is that it has some incompatibilities with 64-bit systems and Python 3 (and also numpy, etc.). I was wondering if there is any state-of-the-art library in Python for this purpose. Thanks.
...ANSWER
Answered 2019-Aug-23 at 12:27I don't think there is anything available in Python (except for PyDSTools and its interface with AUTO). You might check out the bifurcation suite in JULIA (which is also well suited to simulate and model dynamical systems): http://docs.juliadiffeq.org/latest/analysis/bifurcation.html It is also built around PyDstools though but you might be able to circumvent your incompatibility problems.
QUESTION
I have installed PyDSTool
package :
ANSWER
Answered 2018-Mar-20 at 10:33The PyDSTool project homepage at sourceforge is down: http://pydstool.sourceforge.net/ points to http://www.ni.gsu.edu/~rclewley/PyDSTool/FrontPage.html that returns "file not found".
The project has moved to GitHub: https://github.com/robclewley/pydstool
There are several issues in line with yours there. The problem is that, currently, the development of SciPy's integrate
module has broken the calls from PyDSTool.
One solution: use an older version of SciPy. The alternatives are either to find yourself the points of failure or to use the fork here: https://github.com/tkf/pydstool/tree/tkf
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pydstool
You can use pydstool like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page