Skip to main content

mass-screen-rs

The MUSE data-driven response mask ("mass screen") with a Rust core and a Python API.

mass_screen(response, spectra, threshold=..., fill_value=...) takes the response matrix [n, m] (spectral pixel × VDEM component) and the spectra [n, b] (spectral pixel × image pixel) and returns a float32 array [b, m] with 1.0 where a component can produce at least threshold of signal for that pixel and NaN where it cannot, after replacing spectra <= 0 by fill_value. It computes the same mask as the PyTorch reference in muse.inversions and replaces the C++ kernel muse used to build at install time. The tests check it against a recorded PyTorch mask.

Install

pip install mass-screen-rs

Wheels are published for Linux (x86-64), macOS (arm64) and Windows, Python 3.12 to 3.15.

Development

pip install maturin pytest
maturin develop --release        # build into the active environment
cargo test                       # Rust unit tests
pytest --pyargs mass_screen_rs   # Python tests, including parity with the recorded PyTorch mask
prek run --all-files             # lint hooks (ruff, docformatter, cargo fmt, clippy, cargo test)

With torch installed, the parity test also checks a fresh random case against PyTorch directly, and python -m mass_screen_rs.tests.make_torch_reference re-records the reference.

Releases: bump version in Cargo.toml (the only place it is set), merge, then tag vX.Y.Z on main; the workflow builds the wheels and the sdist and uploads them to PyPI.

Metadata

Release files for mass-screen-rs 0.1.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 mass-screen-rs 0.1.0
File Size Uploaded Provenance
mass_screen_rs-0.1.0.tar.gz 385.0 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for mass-screen-rs 0.1.0
File
mass_screen_rs-0.1.0-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details
mass_screen_rs-0.1.0-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details
mass_screen_rs-0.1.0-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details
mass_screen_rs-0.1.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
mass_screen_rs-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
mass_screen_rs-0.1.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
mass_screen_rs-0.1.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
mass_screen_rs-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
mass_screen_rs-0.1.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
mass_screen_rs-0.1.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
mass_screen_rs-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
mass_screen_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details

Total release size: 7.4 MB

Release files / mass_screen_rs-0.1.0.tar.gz

Download URL mass_screen_rs-0.1.0.tar.gz
Size 385.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8880167b3a514186c32e515d69e7c92f7e7925002a77010f6cb880367b41836f
BLAKE2b-256 checksum
How to use checksums
05405868410a54d95e17a464a3f3b93fab5e606349372dd98dfc63d61d6a25c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp315-cp315-win_amd64.whl

Download URL mass_screen_rs-0.1.0-cp315-cp315-win_amd64.whl
Size 542.7 kB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
18bcbdc47a255c1568a50076cc40e3530a49b572da397751e6da2366ab1fbc48
BLAKE2b-256 checksum
How to use checksums
b43347604c7fdfd395ba211f811791869137e8645bf5891e3b7d0d08323dbe2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL mass_screen_rs-0.1.0-cp315-cp315-manylinux_2_28_x86_64.whl
Size 626.3 kB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
199137984b23a3d57ea565355d9bd8348298c2fc47323ed454a2e2aa75abdaea
BLAKE2b-256 checksum
How to use checksums
91aaaf33732fa0af700ff44c90b8b0db75554de93680f641522cf6b3d88eb5eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL mass_screen_rs-0.1.0-cp315-cp315-macosx_11_0_arm64.whl
Size 597.4 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f5af900392af4f5fd1ba513deb50ebe9c8524718487c9ac60caa47c0b7208dee
BLAKE2b-256 checksum
How to use checksums
e78a1fab2c7c5a55e5d2c89d4e7731516904350a2fa521951820ae25c6e6800e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp314-cp314-win_amd64.whl

Download URL mass_screen_rs-0.1.0-cp314-cp314-win_amd64.whl
Size 542.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
354b140a14c9fd0e9292b7ec2ffdd134882b6b91203f2182ff5e466f09e0f579
BLAKE2b-256 checksum
How to use checksums
4c8136f6ac918410dd72dfc1a44265488ed924d2f804002295f8b687b9076e5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL mass_screen_rs-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 626.2 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f7a13b2adfcdf475da6fb2df9b544cb325281bc66d340c0c5edc52dd417c3448
BLAKE2b-256 checksum
How to use checksums
1d353c3ce9cb72b52842194bcd3d578abbb2b458d664c01d30c8c1238949f583
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL mass_screen_rs-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Size 597.3 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0bc0e69636ea6c29010440d733de56c1c0ff76b8cd33e3f6d4145aca8de1844c
BLAKE2b-256 checksum
How to use checksums
83753c8498c9b2871a3609475873c5a0c585e74874638a1846094238d36379a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp313-cp313-win_amd64.whl

Download URL mass_screen_rs-0.1.0-cp313-cp313-win_amd64.whl
Size 543.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
731856b23b3db7a9021858deec7c9df95608c9de5a9ff9ac3d5cc51af25b9dda
BLAKE2b-256 checksum
How to use checksums
20b425e6470d10d3a0bab511a875da0a81b4bb5ca391b6178c3cd1e2481333a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL mass_screen_rs-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 626.1 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
16bd666436bf73dd953b318da32f799533de149d9e4707caa176b5f22490b4bd
BLAKE2b-256 checksum
How to use checksums
5247987c81aefd04e1c7de1bd371ec152f74f8fd576cac1607b574e61265f2a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL mass_screen_rs-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Size 597.3 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6e2cfac0089ab4461ecdc6e899c3e1f656f7a0caea8616b615bcba3c822ed2c4
BLAKE2b-256 checksum
How to use checksums
426cca222e4fa9f3f348590f7b61dd888b4b7e38b7402008416c1ee92707354e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp312-cp312-win_amd64.whl

Download URL mass_screen_rs-0.1.0-cp312-cp312-win_amd64.whl
Size 542.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
e43c67b967df535dd3c8536ebf901ebba5fd394b7e00d3aad8ae6cbe2b2d36f3
BLAKE2b-256 checksum
How to use checksums
bb55cbff918235c91b77e30ad7f2df4f705f3fcb72d7c8f88bbcfbf832a7c369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mass_screen_rs-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 625.9 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e5535567955ef996bef1a55b09053771b1cc0799d6fb04afe6c23599430dc419
BLAKE2b-256 checksum
How to use checksums
7bf05f9ea6384e860ad169a926311fa342b1a8d9e4573c046ea0d0cebe29e328
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / mass_screen_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL mass_screen_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Size 597.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1751fac4b26a585b00ad0f67d925c766aa8561c7d97bedbdd465e0f4741cc177
BLAKE2b-256 checksum
How to use checksums
61a614b371f1cfdeb8109a9fc82d6771eb1c659deff0ca63d8eac689d5177ae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for mass-screen-rs 0.1.0

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.

Full provenance

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for mass_screen_rs-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

13 release files Full provenance

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