Skip to main content

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.

PyGhostID_scheme

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:

Daniel Koch, Akhilesh Nandan (2026). Generalized saddle-node ghosts and their composite structures in dynamical systems. arxiv: 2604.05194.

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:

Running Code

  • Main Figures: Run any of the FigureX.ipynb scripts to generate the main figures from the paper.

Supplementary Figures & Videos:

  • Use Supp Figure X.ipynb to reproduce additional analyses and visuals.

Contact

For questions or additional information, please contact Daniel Koch: daniel.koch@umanitoba.ca

Metadata

Release files for PyGhostID 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyGhostID 1.0.3
File Size Uploaded
pyghostid-1.0.3.tar.gz 34.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyGhostID 1.0.3
File Interpreter ABI Platform
pyghostid-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 69.3 kB

Release files / pyghostid-1.0.3.tar.gz

Download URL pyghostid-1.0.3.tar.gz
Size 34.8 kB
Tags Source
SHA-256 checksum
How to use checksums
088b591f9baa0b08f66d3b1974818bb56c0b22ef48beec7ace65ae12cf8c4231
BLAKE2b-256 checksum
How to use checksums
504fd0f8acbfb383ec1c83f18dbca0683c190f61fc97b06d5a16c35f174b4dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / pyghostid-1.0.3-py3-none-any.whl

Download URL pyghostid-1.0.3-py3-none-any.whl
Size 34.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83db37a1104e6ce65f90fabca3ca34616e188ede695a982cdcd0062a2d0a6c76
BLAKE2b-256 checksum
How to use checksums
50549ad986bb67f56464378c145d6ce839ba5ce30eb84c2f8d8dbd80c61674e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page