sensorfusion-tools
Signal-systems utilities for estimation, modeling, and plotting.
Versioning
This library uses calendar-style semantic versions: YYYY.FEATURE.BUGFIX.
YYYY: release year (for long-term timeline tracking)FEATURE: increments for new functionalityBUGFIX: increments for patches and fixes
Framework And Tooling
- Language: Python 3.14+
- Build backend:
uv_build - Package/dependency workflow:
uv - Numerical stack:
numpy,scipy - Plotting:
matplotlib
Testing Framework
- Test runner:
pytest - Property-based testing:
hypothesis - Coverage:
pytest-cov(configured forsrc/sftools)
Run tests:
uv run pytest
Run only sftools tests:
uv run pytest tests/sftools
Code Quality
- Linting:
ruff
Run lint:
uv run ruff check .
CI (GitLab)
The pipeline is defined in .gitlab-ci.yml and includes:
qualitystage:rufflint checksteststage:pytestwith JUnit artifact output
CI uses python:3.14-slim and installs dependencies with:
uv sync --group dev
License
Distributed under the MIT License. See LICENSE for details.
Project Structure
src/
sftools/ # Main signal-system models, estimators, helpers, plotting, shared types
tests/
sftools/ # Pytest suite for src/sftools (one test file per source file)
fixtures/ # Regression test input/output fixtures
For sftools, tests mirror the source layout:
src/sftools/model_obs.py->tests/sftools/test_model.pysrc/sftools/estimator.py->tests/sftools/test_estimator.pysrc/sftools/helper.py->tests/sftools/test_helper.pysrc/sftools/plot.py->tests/sftools/test_plot.py
Shared state/trajectory datatypes are defined in src/sftools/types.py:
GaussianStateParticleStateStateTrajectory(supports probabilistic trajectories viawrite_stateand deterministic trajectories viawrite_mean)
sftools.helper.mct accepts vectorized mappings with output shape
(n_outputs, n_samples), or (n_samples,) for scalar outputs.
It requires at least two samples and always returns a matrix covariance,
including shape (1, 1) for a scalar output.
Useful StateTrajectory iteration helpers:
for y in trajyields state columns with shape(n, 1)traj.iter_samples(include_cov=True, include_time=True)yields(y, cov, t)tuples when available
Plotting helpers in src/sftools/plot.py use StateTrajectory inputs.
Particle filter helper:
ParticleFilter.init_state_gaussian(mean, cov, n_particles)initializes aParticleStatefrom a Gaussian prior using the filter RNG.
Metadata
Release files for sensorfusion-tools 2026.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sensorfusion_tools-2026.0.1.tar.gz | 17.1 kB | Without provenance | Details for sensorfusion_tools-2026.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sensorfusion_tools-2026.0.1-py3-none-any.whl | Python 3 | none | any | Details for sensorfusion_tools-2026.0.1-py3-none-any.whl |
Total release size: 37.4 kB
Release files / sensorfusion_tools-2026.0.1.tar.gz
| Download URL | sensorfusion_tools-2026.0.1.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
590bcf9b9ee16956212a6c53750a3ca96a03853b07874e883b8376c142ab39bf
|
|
BLAKE2b-256 checksum How to use checksums |
531025239993bd62e8872470dd67d35c226eaf3bdccecbf6ce932a7a02dea4ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sensorfusion_tools-2026.0.1-py3-none-any.whl
| Download URL | sensorfusion_tools-2026.0.1-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c5abbea8e3e6d0f744fe872eb787d97014cdfdb72df0a0947d466d948e9c4f8
|
|
BLAKE2b-256 checksum How to use checksums |
b5a985a8494735dad57a9d4ddfe0a2e3bb91c031a190134ed63abd9fa14278f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for sensorfusion-tools 2026.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.