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
.. code-block:: console
$ pip install ttlab
## How to use
For full explanation, see the documentation at 'link'.
Example with mass spectrometer data:
```
#!python
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 at info@ttlab.se
## License
MIT license
Feel free to use ttlab in whatever way you want to.
___
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
.. code-block:: console
$ pip install ttlab
## How to use
For full explanation, see the documentation at 'link'.
Example with mass spectrometer data:
```
#!python
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 at info@ttlab.se
## 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.74.tar.gz
(29.1 kB
view hashes)