Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Requires Python 3.11 or later. Prebuilt wheels (one stable-ABI wheel per platform, for CPython 3.11 and every later version): Linux x86-64 and ARM64 (manylinux, glibc 2.17+; musllinux 1.2), macOS x86-64 and Apple silicon, Windows x64 and ARM64. On other platforms pip builds the source distribution, which needs a Rust toolchain (rustup). numpy is installed as a dependency; pandas is needed only for compare_dataframes.

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

Tolerances(atoly=0.05) sets the y axis only: rtoly becomes 0 and the x axis keeps its default, which is no tolerance in x (time); give e.g. atolx=0.5 to allow the test to be shifted by up to 0.5 time units. Tolerances are resolved per axis (an axis with no coefficient given gets its default — x all 0.0, y rtoly = 2e-3 — an axis with at least one given uses 0.0 for the rest; explicit 0.0 counts as given) — see the package README for details.

compare releases the interpreter lock while it runs, accepts timeout= (seconds, raises ComparisonTimeout) and cancel= (a CancelToken another thread can cancel(), raises ComparisonCancelled), and Ctrl-C interrupts it with KeyboardInterrupt.

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.

Metadata

Release files for simtest-funnel 1.0.0b22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simtest-funnel 1.0.0b22
File Size Uploaded Provenance Actions
simtest_funnel-1.0.0b22.tar.gz 215.7 kB Without provenance Details for simtest_funnel-1.0.0b22.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for simtest-funnel 1.0.0b22
File Actions
simtest_funnel-1.0.0b22-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details for simtest_funnel-1.0.0b22-cp311-abi3-win_arm64.whl
simtest_funnel-1.0.0b22-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for simtest_funnel-1.0.0b22-cp311-abi3-win_amd64.whl
simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_x86_64.whl
simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_aarch64.whl
simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
simtest_funnel-1.0.0b22-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for simtest_funnel-1.0.0b22-cp311-abi3-macosx_11_0_arm64.whl
simtest_funnel-1.0.0b22-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for simtest_funnel-1.0.0b22-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 3.2 MB

Release files / simtest_funnel-1.0.0b22.tar.gz

Download URL simtest_funnel-1.0.0b22.tar.gz
Size 215.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6a8afb514ab8e4d77c83ce66aef74ea8ce407ed7c836e88075d1f4f83a661716
BLAKE2b-256 checksum
How to use checksums
fa847f8858285b26dfe5b92a562bcb2f7e1ebde3c901858e04e6aa270e30b4b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-win_arm64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-win_arm64.whl
Size 220.7 kB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
c479a3d6bfd04e8c725cdfc84cffc9baddce95c0306f9cb4e3754c4473159e62
BLAKE2b-256 checksum
How to use checksums
a03863d1572df0f61d29a9370106d9a26a1e6ae1bafd39518722b7b61a8449ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-win_amd64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-win_amd64.whl
Size 228.3 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c2d806c42d9bf8fd027de1eef8dc963e1e29850996cd087f87068c0741033158
BLAKE2b-256 checksum
How to use checksums
7f3882f1d2b5c7d0330cbacef14804d2f105d3f084056b018fc0e38c8fca3292
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_x86_64.whl
Size 575.9 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
a244a2c43f342fa1f523224d3ddbe15e4061772da42283ca38e92c56222ab9d0
BLAKE2b-256 checksum
How to use checksums
86a05716eced17726a834c2203ca4f44603b7550e06aa41cce41d36a5d090849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-musllinux_1_2_aarch64.whl
Size 542.8 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
08fdb87eb0de2e20272022864e914b27dfeb59579ff311f08a866335a9743c21
BLAKE2b-256 checksum
How to use checksums
e2cb019b633f9c46ace594d091ef6d154d38595eaa3040516b21e3aae138f100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 377.6 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
3e1715a9488691b87f1f33b48a38bceb5723634c4fe30610d30e9fd7ab7445ad
BLAKE2b-256 checksum
How to use checksums
e86d58c602225b210a06a497563b293ec8522351f0e560b3f256315e998ed878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 364.3 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
96f782f22538c9f001397a1d346a22efd87bd50d07a245d387e201dc0db987fd
BLAKE2b-256 checksum
How to use checksums
e83292d09b44d24e1f389e306f804c645d8c2b0dcdcd89797a5eff26d61af25d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-macosx_11_0_arm64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-macosx_11_0_arm64.whl
Size 330.3 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
396137da9b76ea3bcd24d52250eb9d60a0899d2cbd036d64ab0d2a7399824e74
BLAKE2b-256 checksum
How to use checksums
d2864b4cc8ab8ea7c8e6696fae3eee23fc6448590c1b0a0d169955cb3eaa5e0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / simtest_funnel-1.0.0b22-cp311-abi3-macosx_10_12_x86_64.whl

Download URL simtest_funnel-1.0.0b22-cp311-abi3-macosx_10_12_x86_64.whl
Size 332.5 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
feaa3978d389e0ed9423182fd12875e7f0a006a69f618a5d172e130bb01ee922
BLAKE2b-256 checksum
How to use checksums
18aa76fa87f69f5e636bf98ba82cf7ef07ef56cee8af23d92dc0d61f0417a1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for simtest-funnel 1.0.0b22

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.

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