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.0b20

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.0b20
File Size Uploaded Provenance Actions
simtest_funnel-1.0.0b20.tar.gz 215.6 kB Without provenance Details for simtest_funnel-1.0.0b20.tar.gz

Built distributions (wheels)

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

Total release size: 3.2 MB

Release files / simtest_funnel-1.0.0b20.tar.gz

Download URL simtest_funnel-1.0.0b20.tar.gz
Size 215.6 kB
Tags Source
SHA-256 checksum
How to use checksums
55988353501e509c58b0e016971118d4ff9bdbb530fa517ad0eb97903a262acb
BLAKE2b-256 checksum
How to use checksums
b01d0e5b89d32a7f39553894d2005f93c483f5eeb77ac3b13d6741c2d85dda32
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.0b20-cp311-abi3-win_arm64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-win_arm64.whl
Size 220.6 kB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
b51f4b95cfdecdfa559b48a0c1093e96cce7ca5f53646cc73b78d0c0b235df19
BLAKE2b-256 checksum
How to use checksums
09a6e702bf079e4fbef14ea838110439d8b0eb36861428633525948e547ef7c9
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.0b20-cp311-abi3-win_amd64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-win_amd64.whl
Size 228.2 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8b3ef381e20f5c98f6c933f72551b11fd3ced4ef165dcc2dc9588a5d2a9f37ae
BLAKE2b-256 checksum
How to use checksums
0e792e714f6f45650ec0b1117bdb410f9802bc5d6fe4fe76ee9199e73b8a1469
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.0b20-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-musllinux_1_2_x86_64.whl
Size 575.5 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
206f93f15eccddad14a2b9c9f7bb5cdfbd2858b66c7dc2f291e2010ab1e089f0
BLAKE2b-256 checksum
How to use checksums
3502c89cec6482119a83936310c84c49f33d3a12f85505773132b612542e5a1c
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.0b20-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-musllinux_1_2_aarch64.whl
Size 542.7 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
13576a5d2928a1d176de8f18c6d7e354a29b2d048a5929a3e62cf4742729601b
BLAKE2b-256 checksum
How to use checksums
6c1de4a349b40fcc10f0a98b4d3682945ab9fb6b69dd3b5fed60bea2cc703bba
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.0b20-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 377.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
31e0573986bc988336780ef80123239932c09bb152699b621ed514bd34c0b660
BLAKE2b-256 checksum
How to use checksums
17fbdfdbfe072fc34a9a0b278694c1a44a929cff3ce09951867e2c26146b9b87
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.0b20-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 364.1 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
78a1c7e5f7cd4f0308eb42f45874b4ca8aec820729cbd56bd6406bd9f45e83d8
BLAKE2b-256 checksum
How to use checksums
9d1e2469bc33184352fa24228709d9cc947e2dd06f32bf9313a06e758d7206c0
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.0b20-cp311-abi3-macosx_11_0_arm64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-macosx_11_0_arm64.whl
Size 330.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d71d347686df7fc2761b285c39624494865fde8fe597e8f91fc2b05ed1e2fde5
BLAKE2b-256 checksum
How to use checksums
3ae06a46fd7a8eb8f04fe396cd6bdf1ef123769cd36520a30e6e836431b3ea1e
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.0b20-cp311-abi3-macosx_10_12_x86_64.whl

Download URL simtest_funnel-1.0.0b20-cp311-abi3-macosx_10_12_x86_64.whl
Size 332.3 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a8e33ea3f6b9d5aa58d93d538dfd9c808c0f3c1d46d8cb1f0b3f6bbf698512f9
BLAKE2b-256 checksum
How to use checksums
8d3f26e74ef14c4a6b57a03c4f021f5ded2c150f2f9ffb7a8aaaa3213fc2435a
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.0b20

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