Skip to main content
Published in the Journal of Open Source Software (JOSS)

pyOpenSci Peer Reviewed

Tsipor Dynamics

Algorithms Engineering and Development

Tsipor (bird) Dynamics (c4dynamics) is the Python framework for state-space modeling and algorithm development.

Static Badge PyPI - Version GitHub deployments GitHub Actions Workflow Status GitHub Actions Workflow Status Pepy Total Downloads

Stop starting from scratch every time you change systems

Same workflow. Different systems.

Most engineers rebuild everything. c4dynamics keeps the structure fixed.


What is c4dynamics?

c4dynamics is a Python framework for building, simulating, estimating, and controlling physical systems — without resetting your workflow every time the system changes.

It gives you one consistent way to:

  • define a system
  • simulate its evolution
  • estimate its state
  • design control

Across:

robotics · aerospace · autonomous systems · navigation



🧪 Examples

Real implementations of modeling, estimation, and control

These are not isolated demos. They all follow the same structure.

Cascade PID EKF State Estimation 6-DOF Simulation
Quadcopter figure-8 tracking Quadcopter GPS/IMU/MAG sensor fusion Proportional navigation guidance
Extended Kalman Filter Model Predictive Control YOLO + Kalman Filter
Ballistic coefficient estimation Vehicle steering Vehicle tracking
Neural Network based Controller
Helicopter Learning Controller

The switching problem

Switching systems shouldn’t feel like starting over.

But it does:

  • new models
  • new simulation structure
  • new estimation logic
  • new control pipeline

You don’t just learn new physics.

You rebuild everything.


The workflow

Keep the workflow. Change the physics.

c4dynamics enforces a consistent structure:

define → simulate → estimate → control

So when the system changes:

your thinking doesn’t.


Core principle

Physics first. Programming second.

  • Code implements
  • Models define reality
  • Algorithms follow structure

What you get

  • state-based modeling primitives
  • simulation infrastructure
  • Kalman / Extended Kalman filters
  • sensor and detection modules
  • reinforcement learning environments
  • OpenCV / Open3D integration
  • Monte Carlo simulation support

Who this is for

  • control engineers
  • robotics engineers
  • aerospace engineers
  • autonomy developers

Especially if you’ve felt:

“I know this stuff… but I don’t use it.”


Quickstart

>>> import c4dynamics as c4d

define system

s = c4d.state(y=1, vy=0.5)

simulate

F = [[1, 1],
     [0, 1]]

s.X += F @ s.X
s.store(t=1)

Requirements


Installation

For detailed instructions on installing c4dynamics, including setup for virtual environments, Python version requirements, and troubleshooting, refer to the c4dynamics setup guide.

>>> pip install c4dynamics

To run the latest GitHub version, download the repo and install required packages:

>>> pip install -r requirements.txt

Documentation

📘 https://c4dynamics.github.io/c4dynamics/

  • concepts
  • API
  • examples
  • tutorials

Contributing

This is not just a library.

It’s a shared way of building systems.

  • build examples
  • improve structure
  • explore new systems

Support

If you encounter problems, have questions, or would like to suggest improvements, please open an Issue in this repository.


New system. Same workflow.


Metadata

Release files for c4dynamics 2.4.1

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

Source distribution (sdist)

Source distribution for c4dynamics 2.4.1
File Size Uploaded
c4dynamics-2.4.1.tar.gz 171.5 kB Details

Built distribution (wheel)

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

Total release size: 345.1 kB

Release files / c4dynamics-2.4.1.tar.gz

Download URL c4dynamics-2.4.1.tar.gz
Size 171.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b43068a0a2fde2138f0a0a5b059a6b9bf5d82afdb6cf53c994a45606e5c625c7
BLAKE2b-256 checksum
How to use checksums
8412e09cd37f3a37d06b6d37aebe9c51d183ad4973de6adf23c5a335ffeb5bf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / c4dynamics-2.4.1-py3-none-any.whl

Download URL c4dynamics-2.4.1-py3-none-any.whl
Size 173.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
363771650e4bf5c6453ee945786191d283d4ccfafb87bd8ffc0deb8c0941e010
BLAKE2b-256 checksum
How to use checksums
4a646dff03d7a358526cac53869c1fa6c56234e1f498ed829746233cc8fbcd3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

2.4.3

2 release files

2.4.2

2 release files

This release

2.4.1 This release

2 release files

2.4.0

2 release files

2.3.7

2 release files

2.3.6

2 release files

2.3.5

2 release files

2.3.4

2 release files

2.3.3

1 release file

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.0.3

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.80

2 release files

1.0.50

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