Provides algorithm and GUI for photo thermal interferometry and 3x3 couplers
Project description
MiniPTI
In this repository a GUI is provided to control the MiniPTI as also presented in Waveguide based passively demodulated photothermal interferometer for light absorption measurements of trace substances. In addition to the GUI, Python implementations of the presented algorithms and the driver software for the MiniPTI hardware are also provided as libraries.
1. installation
In order to make the library light-weighted different installation options exist.
To install only the interferometry library you can install it with
pip install minipti
To additionally use the inversion algorithm you can type
pip install minipti[algorithm]
To install the entire package (GUI, algorithms and hardware drivers) you can type
pip install minipti[gui]
2. Usage and GUI
The GUI can be used via
python -m minipti
2.1 Home Tab
2.2 Pump Laser Tab
2.2.1 Pump Laser Driver Tab
2.2.2 Pump Laser Tec Driver Tab
2.3 Probe Laser Tab
2.3.1 Probe Laser Driver Tab
2.3.1 Probe Laser Tec Driver Tab
2.3 Plotting Tabs
2.3.1 DC Signals
2.3.2 Amplitudes
2.3.3 Output Phases
2.3.4 Interferometric Phase
2.3.5 Sensitivity
2.3.6 Symmetry
2.3.7 PTI Signal
3. libraries
3.1 Algorithm
The subpackage Algorithm contains the implementation of the algorithms and can be divided into the subpackages interferometry and pti. interferometry contains the algorithms for the interferometric phase and characterisation of the interferometer. pti contains the algorithms for decimation and PTI inversion.
It is also possible to use only the interferometer subpackage without having to install dependencies for the other packages.
3.1.1 Interferometry
interferometry contains the classes interferometer and characterisation. Examples of usage can be found under examples/interferometer.py and examples/characterisation.py.
3.1.2 PTI
pti contains the classes decimation inversion. Example calls can be found under examples/pti_inversion.py
3.2 Hardware
Hardware contains the classes to control the motherboard (DAQ + BMS), laser (Probe and Pump Laser) and TEC driver as well as the valve control.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.