Overview
PyGhostID is a Python package for identifying generalized saddle-node ghosts in the vicinity of saddle-node bifurcations and their composite ghost structures such as ghost channels and ghost cycles in dynamical systems. PyGhostID's main function is the implementation of GhostID, a trajectory-based algorithm to identify saddle-node ghosts in dynamical systems.
a: GhostID algorithm. b: data recorded about identified ghosts. c: Features of PyGhostID.
Quick Start
Call ghostIDas follows:
import pyghostid as gid
# Minimal working example
result = ghostID(model, params, dt, trajectory)
where modelis the Python function describing the system dynamics, parametersare the model parameters to be given as argument to model, dtis the stepsize and trajectoryis a trajectory of the system. It returns ghostSeq, a Python list of identified ghost states (Python dictionary) and, if return_ctrl_figs = True, the figures for the control plots requested by the user.
Documentation
Please refer to our readthedocs page for information about PyGhostID's functions, tutorials and more.
Reproducing figures from the paper
The folder "paper" of this repository contains the code and data to reproduce the results and figures from the study:
If you use PyGhostID or its repository in your research, please cite our paper.
Dependencies
To recreate the figures and simulations from the study, you’ll need:
- Python 3.x
- PyGhostID (available at https://pypi.org/project/PyGhostID/)
- Other required Python packages (installable via the environment
PyGhostID.yaml)
Running Code
- Main Figures:
Run any of the
FigureX.ipynbscripts to generate the main figures from the paper.
Supplementary Figures & Videos:
- Use
Supp Figure X.ipynbto reproduce additional analyses and visuals.
Contact
For questions or additional information, please contact Daniel Koch: daniel.koch@umanitoba.ca
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyghostid-1.0.3.tar.gz.
File metadata
- Download URL: pyghostid-1.0.3.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
088b591f9baa0b08f66d3b1974818bb56c0b22ef48beec7ace65ae12cf8c4231
|
|
| MD5 |
4976de7361d077f6a970f8f2a329600c
|
|
| BLAKE2b-256 |
504fd0f8acbfb383ec1c83f18dbca0683c190f61fc97b06d5a16c35f174b4dd2
|
File details
Details for the file pyghostid-1.0.3-py3-none-any.whl.
File metadata
- Download URL: pyghostid-1.0.3-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83db37a1104e6ce65f90fabca3ca34616e188ede695a982cdcd0062a2d0a6c76
|
|
| MD5 |
6a553a18d4098237fe75b011d30fc672
|
|
| BLAKE2b-256 |
50549ad986bb67f56464378c145d6ce839ba5ce30eb84c2f8d8dbd80c61674e4
|