Trajectory comparison library
Project description
simtest-funnel (Python)
Python bindings for the simtest-funnel trajectory comparison library, built with PyO3 and maturin.
See the workspace
README.md for how
this library differs from LBNL Funnel.
Install
pip install simtest-funnel
Quick start
import numpy as np
from simtest.funnel import Options, Tolerances, compare
t = np.linspace(0.0, 1.0, 101)
y_ref = np.sin(2 * np.pi * t)
y_test = y_ref + 0.01
result = compare(
t, y_ref, t, y_test,
Options(tolerances=Tolerances(atoly=0.05)),
)
print(result.status) # 0 == Pass, -1 == Fail, 1/2 == MissingReference/Test
For DataFrame-based comparisons and the package-level API reference
see the package README in
python/simtest/funnel/README.md.
Typing
The wheel ships a py.typed marker and a hand-maintained
_simtest_funnel.pyi stub, so mypy --strict is supported out of
the box.
Documentation
A pdoc-rendered site is published alongside every release. Build
it locally with:
make docs-python # → target/doc/python/index.html
simtest-funnel-python
Python bindings for the simtest-funnel trajectory comparison library, built with PyO3 and maturin.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simtest_funnel-1.0.0b10-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: simtest_funnel-1.0.0b10-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 308.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ec9f02ca3adbddcee52b1421cc11ca89ec8d8eda191decf0351dd129c3ac424
|
|
| MD5 |
9ea0b91b999bc3ac4e19596833502649
|
|
| BLAKE2b-256 |
d35688c75644ce22767348aec4b86d0e31905b22ceeffe43b4a1f9bd235adcde
|