/light

Graphical Data Acquisition Software for Terahertz Time-Domain Spectrocopy.

Primary LanguagePythonMIT LicenseMIT

Light

Python workflow badge

Light is a data acquisition application for THz-TDS Instrument in Laser Research Group. It is a fork of another great project. But, we changed and improved lots of things already.

Play the video to see how application works. Note that this is in demo mode. So, no hardware is connected.

gui_in_action.mov

Requirements

Software

  • Python 3.8.10
  • Pip
  • Virtualenv

Hardware (Not required in demo mode)

  • Thorlabs lts150/m
  • Lockin SR830.

Installation

After cloning, create a virtual environment and install the requirements. For Linux and Mac users:

$ virtualenv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt

If you are on Windows, then use the following commands instead:

$ virtualenv venv
$ venv\Scripts\activate
(venv) $ pip install -r requirements.txt

Running

To run the application, use the following command:

(venv) $ python3 app/light.py

Development

Application is in demo mode by default. This means no hardware is connected, and scan is simulated. To deactivate demo mode and use hardware, comment out the line activeProfile = 'demo'. Recommended IDE is Visual Studio Code.