C4DYNAMICS: The Python framework for state-space modeling and algorithm development

C4DYNAMICS: The Python framework for state-space modeling and algorithm development - Published in JOSS (2025)

https://github.com/c4dynamics/c4dynamics

Science Score: 87.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

algorithms dynamics guidance kalman motion-planning navigation python slam state-space state-vector
Last synced: 10 days ago · JSON representation

Repository

The Python framework for state-space modeling and algorithm development

Basic Info
Statistics
  • Stars: 58
  • Watchers: 6
  • Forks: 13
  • Open Issues: 11
  • Releases: 0
Topics
algorithms dynamics guidance kalman motion-planning navigation python slam state-space state-vector
Created about 3 years ago · Last pushed 12 days ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.md

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

Documentation

Why c4dynamics?

State objects for easy modeling

Built-in functions for Kalman filters

Integrated sensors and object detection models

Out-of-the-box environments for reinforcement learning

Seamless integration with OpenCV & Open3D

Optimization for Monte Carlo simulations

c4dynamics is designed to simplify the development of algorithms for dynamic systems, using state space representations. It offers engineers and researchers a systematic approach to model, simulate, and control systems in fields like robotics, aerospace, and navigation.

The framework introduces state objects, which are foundational data structures that encapsulate state vectors and provide the tools for managing data, simulating system behavior, and analyzing results.

With integrated modules for sensors, detectors, and filters, c4dynamics accelerates algorithm development while maintaining flexibility and scalability.

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 ```

Quickstart

Import c4dynamics: ```

import c4dynamics as c4d ```

Define state space object of two variables in the state space (y, vy) with initial conditions (change the state with your variables): ```

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

Multiply the state vector by a matrix and store:
```

F = [[1, 1],
[0, 1]]
s.X += F @ s.X
s.store(t = 1)
```

Print the state variables, the state vector, and the stored data:
```

print(s)
[ y vy ] s.X [2.5 1] s.data('y') ([0, 1], [1, 2.5]) ```

Support

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

New in Block 2

Enhancements and modules in latest release:

  • Complete state space objects mechanism
  • Seeker and radar measurements
  • Kalman filter and Extended Kalman filter
  • YOLOv3 object detection API
  • Datasets fetching to run examples
  • Documentation

JOSS Publication

C4DYNAMICS: The Python framework for state-space modeling and algorithm development
Published
December 19, 2025
Volume 10, Issue 116, Page 8776
Authors
Ziv Meri ORCID
Independent Researcher, Israel
Editor
Sophie Beck ORCID
Tags
dynamics state space sensors filters detectors

GitHub Events

Total
  • Release event: 1
  • Push event: 9
  • Pull request event: 8
Last Year
  • Release event: 1
  • Push event: 9
  • Pull request event: 8

Issues and Pull Requests

Last synced: 12 days ago

All Time
  • Total issues: 23
  • Total pull requests: 22
  • Average time to close issues: 12 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.17
  • Average comments per pull request: 0.05
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 18
  • Average time to close issues: N/A
  • Average time to close pull requests: 19 minutes
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • C4dynamics (22)
  • hweifluids (1)
Pull Request Authors
  • C4dynamics (22)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 446 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 23
  • Total maintainers: 1
pypi.org: c4dynamics

Python framework for state-space modeling and algorithm development

  • Versions: 23
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 446 Last month
Rankings
Dependent packages count: 9.8%
Average: 38.8%
Dependent repos count: 67.8%
Maintainers (1)
Last synced: 15 days ago