Physics lab equipment analysis software
Project description
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.14.tar.gz
(35.8 kB
view details)
File details
Details for the file ttlab-0.45.14.tar.gz.
File metadata
- Download URL: ttlab-0.45.14.tar.gz
- Upload date:
- Size: 35.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.6.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27fbcb85b74bab5b440e5089eda344a45a328cd4c2edba76ba809de2c2b08676
|
|
| MD5 |
35a38dfc2bd80e5eb7b1ae5a3453a5d1
|
|
| BLAKE2b-256 |
82249fe940d040a7c618d1765136f54c31706cfc48b6dd3040c813dd56c936d0
|