minipti

Provides algorithm and GUI for photo thermal interferometry and 3x3 couplers


Keywords
pti, signal-processing
License
MIT
Install
pip install minipti==1.9.3

Documentation

MiniPTI

flowchart

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

flowchart

2.2 Pump Laser Tab

2.2.1 Pump Laser Driver Tab

flowchart

2.2.2 Pump Laser Tec Driver Tab

flowchart

2.3 Probe Laser Tab

2.3.1 Probe Laser Driver Tab

flowchart

2.3.1 Probe Laser Tec Driver Tab

flowchart

2.3 Plotting Tabs

2.3.1 DC Signals

flowchart

2.3.2 Amplitudes

flowchart

2.3.3 Output Phases

flowchart

2.3.4 Interferometric Phase

flowchart

2.3.5 Sensitivity

flowchart

2.3.6 Symmetry

flowchart

2.3.7 PTI Signal

flowchart

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.