Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.41 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.41 KB

Light

Python workflow badge

Light is a data acquisition application for THz-TDS Instrument in Laser Research Group.

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

  • Thorlabs lts150/m.
  • NI USB-6361 which is reading from Lockin SR830. Direct connection to SR830 is supported but not tested yet.

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 with parameter DEMO_MODE. This means no hardware is connected, and scan is simulated. To deactivate demo mode and use hardware, make this constant False. Recommended IDE is Visual Studio Code.