Skip to main content

OpenTof

A Python library for end-to-end processing of Time-of-Flight Mass Spectrometry (ToF-MS) data from Tofwerk instruments (.h5 files).

Installation

Install OpenTof and all its dependencies directly via pip:

pip install opentof

See our installation guide: installation!

Getting Started?

  • Overview of OpenTof's basic usage: quickstart
  • A more in-depth overview of the primary Deployment class: deployment
  • Example jupyter notebook for PTR-TOF data: demo_PTR.ipynb
  • More documentation coming soon!

OpenTof Automated Features Showcase:

  1. Mass calibration
  2. Window selection for reference spectrum
  3. Baseline determination
  4. Peak width
  5. Peak shape
  6. Full peak fitting and area integration

Example Output: Final_Peak_Data

Contributing to OpenTof:

  • Contributions to OpenTof's source code is encouraged!
  • See contributing for a description of eventual changes that would benefit the code!

Metadata

Release files for opentof 0.4.1

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

Source distribution (sdist)

Source distribution for opentof 0.4.1
File Size Uploaded Provenance Actions
opentof-0.4.1.tar.gz 19.8 MB With provenance Details for opentof-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opentof 0.4.1
File Interpreter ABI Platform Actions
opentof-0.4.1-py3-none-any.whl Python 3 none any Details for opentof-0.4.1-py3-none-any.whl

Total release size: 39.7 MB

Release files / opentof-0.4.1.tar.gz

Download URL opentof-0.4.1.tar.gz
Size 19.8 MB
Tags Source
SHA-256 checksum
How to use checksums
2b34cce0045420da00ba957b4adc421af536893892111cbe60f61155c7822e62
BLAKE2b-256 checksum
How to use checksums
680a7a7b9810fee621c840297324f802d8ff839cb1ec516f2c2c882a2a155a88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 13, 2026.

Transparency log

Release files / opentof-0.4.1-py3-none-any.whl

Download URL opentof-0.4.1-py3-none-any.whl
Size 19.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6c4686ba03d78edfa79f1a12939c79124152a6d0135a542f1a61f63dfa2a7ae0
BLAKE2b-256 checksum
How to use checksums
ed26b2adc53b6c4d04a2cadd8eba508603201b9b2384b6054f47239147718d8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 13, 2026.

Transparency log

Security for opentof 0.4.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for opentof-0.4.1.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 Nov 13, 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.

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