Skip to main content

Physics lab equipment analysis software

Project description

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttlab-0.45.22.tar.gz (36.4 kB view details)

Uploaded Source

File details

Details for the file ttlab-0.45.22.tar.gz.

File metadata

  • Download URL: ttlab-0.45.22.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.6.1 requests/2.25.1 setuptools/38.6.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for ttlab-0.45.22.tar.gz
Algorithm Hash digest
SHA256 e57a345e16682fae582b4dec70cbbc8d6aa9379ff5cadecf56cf0db4b8b79acd
MD5 fa47bd5b6b052313507f6ecab1dd6c3f
BLAKE2b-256 d172b16defe5999defb0458d25c98b7d52d53d8aeb82dcaaefcc9b75367f79b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page