Skip to main content

Physics lab equipment analysis software

Project description

#!/usr/bin/python

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.get_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')

Want to contibute?

With money? Plz give it it to charity instead.

With code?

Contact us by mail:

Chalmers tekniska h�gskola AB

Chemical Physics

TTLAB

412 96 G�teborg

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.44.66.tar.gz (27.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ttlab-0.44.66.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/38.6.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for ttlab-0.44.66.tar.gz
Algorithm Hash digest
SHA256 d8373a875ab7f87341524e6a090cfe145da5a793b3f555b2828a6c8dc188232a
MD5 2d905a711579b20746d3c5762e84976d
BLAKE2b-256 245e7969e5f999426241b26f04725cab2cb2d0cf1055249fdc5e64640d362b32

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