Turning time-series into human-readable differential equations
PySINDy reverse-engineers the symbolic differential equations driving a dynamical system from raw measurement data alone.

What it does
PySINDy implements Sparse Identification of Nonlinear Dynamical systems (SINDy) and related literature methods to infer governing equations from time-series measurements. Rather than learning a black-box predictor, it applies sparse regression to discover the minimal set of mathematical terms that describe how a system evolves. The result is an interpretable, symbolic model you can inspect, simulate, or feed into control strategies.
The interesting bit
The library treats parsimony as a feature: by seeking the sparsest set of terms that still explain the data, it can recover interpretable symbolic dynamics from noisy or high-dimensional measurements. It sits in the unusual space between machine learning and automated theoretical physics.
Key highlights
- Discovers interpretable, generalizable equations instead of opaque parameter matrices.
- Includes optional optimizer backends such as
SR3,MIOSR, andSBRfor convex, branch-and-bound, and Bayesian regression. - Extends beyond the original SINDy algorithm to include other methods from the system-identification literature.
- Produces symbolic models suitable for prediction, control-input design, or further analytical study.
- Backed by documentation, video tutorials, and an ecosystem of related packages like
PyDMDandDeeptime.
Verdict
A strong fit for researchers and engineers who need explicit governing equations for analysis or control. If you only care about predictive accuracy and not the underlying math, a standard black-box regressor will be less work.
Frequently asked
- What is dynamicslab/pysindy?
- PySINDy reverse-engineers the symbolic differential equations driving a dynamical system from raw measurement data alone.
- Is pysindy open source?
- Yes — dynamicslab/pysindy is an open-source project tracked on heatdrop.
- What language is pysindy written in?
- dynamicslab/pysindy is primarily written in Python.
- How popular is pysindy?
- dynamicslab/pysindy has 1.9k stars on GitHub.
- Where can I find pysindy?
- dynamicslab/pysindy is on GitHub at https://github.com/dynamicslab/pysindy.