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.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 opentof 0.4.0
File Size Uploaded Provenance Actions
opentof-0.4.0.tar.gz 19.8 MB With provenance Details for opentof-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 39.7 MB

Release files / opentof-0.4.0.tar.gz

Download URL opentof-0.4.0.tar.gz
Size 19.8 MB
Tags Source
SHA-256 checksum
How to use checksums
3570d284babf32ba38b8d81946fe0e020a9894aed402ddb7ac096e13f4accb3a
BLAKE2b-256 checksum
How to use checksums
475c9fa181a40d0b62687f73ef4fdeac7cf22aa182d50d54161a370539c66b77
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.0-py3-none-any.whl

Download URL opentof-0.4.0-py3-none-any.whl
Size 19.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6e7f0f703228b0bff7c8a9b5991699b4fc81d056d80ce7921f4b91318ed29b21
BLAKE2b-256 checksum
How to use checksums
b03c2c2d016c6e66b6fc19ce7239eddd859d7122746adf46b4d046da6d9287fa
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.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

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

Select from 2 files

Attestation for opentof-0.4.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 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