Skip to main content

refloxide

An extremely fast 4×4 transfer-matrix engine for polarized reflectivity from stratified media — Rust core, optional wgpu GPU, thin Python bindings.

10k-slab uniaxial wall time 10k-slab uniaxial wall time

10 000 uniaxial film slabs · 256 q · Apple Silicon · vs PyPXR plugin

More charts

1 slab · wall time

1 slab · peak RSS

10k slabs · wall time

10k slabs · peak RSS

uv sync --group dev --group plugin
uv run python examples/gpu_backend_bench.py --plot

Installation

pip install refloxide
# or
uv add refloxide

Quick start

from refloxide.tmm import uniaxial_reflectivity

refl, tran = uniaxial_reflectivity(q, layers, tensor, energy_ev, device="gpu")

Development

git clone https://github.com/ALS-RSOXS/refloxide.git
cd refloxide
make develop
make test && make verify

License

GPL-3.0 — see LICENSE.

Metadata

Release files for refloxide 0.2.0

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

Source distribution (sdist)

Source distribution for refloxide 0.2.0
File Size Uploaded
refloxide-0.2.0.tar.gz 3.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for refloxide 0.2.0
File
refloxide-0.2.0-cp315-cp315t-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64 Details
refloxide-0.2.0-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details
refloxide-0.2.0-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details
refloxide-0.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details
refloxide-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
refloxide-0.2.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details
refloxide-0.2.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
refloxide-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
refloxide-0.2.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
refloxide-0.2.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
refloxide-0.2.0-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details
refloxide-0.2.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
refloxide-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
refloxide-0.2.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
refloxide-0.2.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
refloxide-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details

Total release size: 50.3 MB

Release files / refloxide-0.2.0.tar.gz

Download URL refloxide-0.2.0.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
e61f2dff3a1507bab635d94d2972fb0c2ebfc57e031d978e30ff0a750c0791e6
BLAKE2b-256 checksum
How to use checksums
f598e9f73fd1f3c7b27375c990d2219e7fb7302b4153b2b5ab3beefa81b40af9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp315-cp315t-manylinux_2_28_x86_64.whl

Download URL refloxide-0.2.0-cp315-cp315t-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ed1be4569ee2eba3d7783ba0c4b89c7626d259d37049c6c7f01b86c21ed7b7ad
BLAKE2b-256 checksum
How to use checksums
8d64fce446e02704a7972a6018d6f869f9674d17de4a326e402bb816889fa979
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL refloxide-0.2.0-cp315-cp315-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
15594aa22fdb419a2dc4d716cde865113a480134c14fc4a99de70687261e6dbf
BLAKE2b-256 checksum
How to use checksums
7c30cb1cf22831fb231d6a610b233a9c1aee6944cb797c3236c0af20116a9399
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL refloxide-0.2.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8141de87160e371a00bed8638520e156f843e64ff0d7daef8cf62efbcabf29e9
BLAKE2b-256 checksum
How to use checksums
72982cac0fe4d132fa20ec1fe1ab45105430a4231ad8769a17453edb5da15cce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL refloxide-0.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 3.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
a3851f5d9a8293a4dc362d5c353cab8274101bc15c24df9f0cd4f3a296c6be07
BLAKE2b-256 checksum
How to use checksums
7647b54016c7b0765d48e3de730feb7433595dc90c0b904dc4cc5c677209a528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL refloxide-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c71332c0e3b888afa34d4da9a398f25f71c179313112683c7c0b3c58ed100c66
BLAKE2b-256 checksum
How to use checksums
f39e3fb1151925c5d8a8964de866766c9e033ad0c784afa383b5924ba2ba19d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL refloxide-0.2.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 3.1 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f019c9a78b936d9648e7d9238fcacf995f67b4344c49671963ea62202f4a776e
BLAKE2b-256 checksum
How to use checksums
679edf6bc1a858ef932ac5c7b9ee9611d758a16ebbff4d0504203ae3332c87ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp313-cp313-win_amd64.whl

Download URL refloxide-0.2.0-cp313-cp313-win_amd64.whl
Size 3.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e8fde43d60e6835ba3e2185741d1c3ab2090463b7b7b4e79e3e7239a0ced1d2c
BLAKE2b-256 checksum
How to use checksums
84497e734a6158e8d70fbfaab07aa51c9c3768b85dc0dbd06d9a7e70bfe59287
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL refloxide-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c4a8808ab8a8c3db27daf0446f6cf7042f5619de5f1e5ec0f0eb68bc3b0207f1
BLAKE2b-256 checksum
How to use checksums
0de3754e9934ad1142b1a3606a4f17874dbdd26ccb6f4f8f2983bd5c2e9dc36c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL refloxide-0.2.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 3.1 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
a598e3a2b646e4faf32d2cf01a2075c263789d6bfe64bcfa4bc897d919fa02be
BLAKE2b-256 checksum
How to use checksums
84b40b309c363cae3c2ca7114797a2e1642b49239c4c1831508de0540ee7c3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL refloxide-0.2.0-cp313-cp313-macosx_11_0_arm64.whl
Size 2.4 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7cfacebf7216e8690c26db019a31b8e14e753d61a70b566716a135088adabf9e
BLAKE2b-256 checksum
How to use checksums
b6a1e83f2f09b4665270c08d1c33833b23a27295673003144a45794635a13c2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp313-cp313-macosx_10_12_x86_64.whl

Download URL refloxide-0.2.0-cp313-cp313-macosx_10_12_x86_64.whl
Size 2.5 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
71a03a320b4ccb59927e554f7fc37a8e94bca0b4dcec4301294162e155e571bc
BLAKE2b-256 checksum
How to use checksums
3d208883a86c715343ec114c57b4862aefc02ed90041589207a26532db51074f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp312-cp312-win_amd64.whl

Download URL refloxide-0.2.0-cp312-cp312-win_amd64.whl
Size 3.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
12a81e62e975592d234105ede00462e407a6a1f8863868350d91697e9c90c1fb
BLAKE2b-256 checksum
How to use checksums
cc5ab3015525702b620b126c57fe3acfd4a379b328fbc9662461fdb04c5205ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL refloxide-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
80e7b281639294272538353dc2224d145c9a0d98a19871e45ef935ddd25ad254
BLAKE2b-256 checksum
How to use checksums
d644080244edd461f6766c2a7c6c3bb75b3b01beaa019d1dff0baf15a3c1fdc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL refloxide-0.2.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 3.1 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
2d12d03b0b514fa25f377bd52b1ad624392f9361f6d12b0b526129647cca055a
BLAKE2b-256 checksum
How to use checksums
39bd6b0be89bee23b9405e7dfa7a584587f907dfa8bdf105372d2228ea870b8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL refloxide-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Size 2.4 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6d21eaaf4752f5bbb739bda39ee2819c54a0e305d4e037064feedc4e64c38eb6
BLAKE2b-256 checksum
How to use checksums
ac881db0ccd2f6e3e451b39aeaf214536bdcb1299495df348e9adda287fc8f6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / refloxide-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl

Download URL refloxide-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
Size 2.5 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
66df9a4173542fcc62224f1ead73c368cb5d0c4133d3223f1e3abebd6f893413
BLAKE2b-256 checksum
How to use checksums
8edaf4fbc8d0ba380442b2777e2dbda40f38a0efd7a85e022e92f72ddc0eb27c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.2.1

17 release files

This release

0.2.0 This release

17 release files

0.1.5

17 release files

0.1.4

4 release files

0.1.3

4 release files

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