Skip to main content
https://bytebucket.org/tt-lab/ttlab/raw/07af7e037611c6d2b47aef425bc7e078519c04ce/assets/header.png?token=9425964a76732a6a54d81fb58935ae6dc8acbfa4

TT - lab

Easy to use import scripts for the most common physics equipments such as XPS, mass spectrometer, light spectrometers. Functions for the most typical analysis procedures.

Installation

$ pip install ttlab

How to use

For full explanation, see the documentation at ‘link’.

Example with mass spectrometer data:

from ttlab import MassSpectrometer


# Create a mass spec object
filename = 'path/filename.asc'
MS = MassSpectrometer(filename)

# Check what gases are included in the data
print(MS.gases)

# Plot one of the gases, using matploltlib, returns the axes
ax = MS.plot_gas('Ar')

# Get the ion current and the relative time for the gas, returns np arrays with the data
ion_current_argon = MS.get_ion_current('Ar')
time_relative = MS.get_relative_time('Ar')

License

MIT license Feel free to use ttlab in whatever way you want to.

Metadata

Release files for ttlab 0.46.2

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

Source distribution (sdist)

Source distribution for ttlab 0.46.2
File Size Uploaded Provenance Actions
ttlab-0.46.2.tar.gz 36.4 kB Without provenance Details for ttlab-0.46.2.tar.gz

Release files / ttlab-0.46.2.tar.gz

Download URL ttlab-0.46.2.tar.gz
Size 36.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b5c936590a9bd18bc8f5e40e6349954f991d6cee43ffb254eda9d65f5cc58017
BLAKE2b-256 checksum
How to use checksums
548127aa2838ea100e192a3392bc1beabff3e43bca4640017931a16b3629fd97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.7.0 requests/2.25.1 setuptools/38.6.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.3

Security for ttlab 0.46.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.46.2 This release

1 release file No 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