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.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 c4dynamics 2.4.3
File Size Uploaded
c4dynamics-2.4.3.tar.gz 174.4 kB Details

Built distribution (wheel)

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

Total release size: 350.5 kB

Release files / c4dynamics-2.4.3.tar.gz

Download URL c4dynamics-2.4.3.tar.gz
Size 174.4 kB
Tags Source
SHA-256 checksum
How to use checksums
27ed5d4edb1648ccf64712967d78ec8a57e81c215e4f61a7a0c401fda4939de5
BLAKE2b-256 checksum
How to use checksums
7505c79d727c112fe4daa7269651a26c004d134feeaf1a6a5e0b18a8c119b084
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

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

Download URL c4dynamics-2.4.3-py3-none-any.whl
Size 176.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
530b01a556130c2126ade1dcf861651fea2dd30a998bb7a663dd34ca9bb422d6
BLAKE2b-256 checksum
How to use checksums
a7f17babda1f026675b8e0f3152af65bf109805ca8f5b41c0e6ec21725d085fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

2.4.3 This release

2 release files

2.4.2

2 release files

2.4.1

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