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.2

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.2
File Size Uploaded
c4dynamics-2.4.2.tar.gz 171.6 kB Details

Built distribution (wheel)

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

Total release size: 345.3 kB

Release files / c4dynamics-2.4.2.tar.gz

Download URL c4dynamics-2.4.2.tar.gz
Size 171.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0887894e5b7ff242e5fba923661be81c57f2523d799c47bf9464c8c60ed48ec7
BLAKE2b-256 checksum
How to use checksums
aaa23cbd073be88d757bf16283ee5763e0abcc5cdc22959799de18d9701ba054
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.2-py3-none-any.whl

Download URL c4dynamics-2.4.2-py3-none-any.whl
Size 173.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
005fb4616d63a8d94aaeb5f78aa6ff3549566fe953da850bf6a3b72c5678b882
BLAKE2b-256 checksum
How to use checksums
df4d9d8f17b5b75cd92b726bc081e07b6c19db6caa1acf1b6f02d782fb549a43
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

This release

2.4.2 This release

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