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

Built distribution (wheel)

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

Total release size: 39.6 MB

Release files / opentof-0.3.0.tar.gz

Download URL opentof-0.3.0.tar.gz
Size 19.8 MB
Tags Source
SHA-256 checksum
How to use checksums
3cdb8df20dc435f5e2aeddedea7ff716f921a55de019c38de055fa9d645af4eb
BLAKE2b-256 checksum
How to use checksums
f11e0a5d1f022e670ca0658603d1f0aa94b463ea31952dd35381b0c5a8e4c63d
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 Oct 21, 2026.

Transparency log

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

Download URL opentof-0.3.0-py3-none-any.whl
Size 19.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
467c155b5385fefa1053103930fab57e3388d343f29a45604838dd67220ba244
BLAKE2b-256 checksum
How to use checksums
30b91ac00f00e7ffbe6bdfba8026167bc36c9f390757c7afa271cd349a2bb4b5
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 Oct 21, 2026.

Transparency log

Security for opentof 0.3.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.3.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 21, 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