This github will include the necessary software to control the different components of the LSM setup
In order to use the software it is recommended to crate a virtual environment (you need to install python beforehand 🐍). You can create the virtual environment running the next command python -m venv lsm_env
.
To activate the environment, open a console in the path were you clone the repository and run the command .\lsm_env\Scripts\activate
If the environment is properly activated you will see the name of the environment before the path in the command line (example bellow)
If you got this error,
Run the command Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
and try to activate the environment again.
Once you are in the environment, you will need to install the required libraries. These libraries are in the requirements.txt file. You can install them running the command pip install -r requirements.txt
. It can take some minutes, so grab a coffee in the meanwhile ☕ 😄
To deactivate the environment and return to the global Python environment, simply use the deactivate
command.
The software of the LSM controll the following modules:
- Thorlabs XYZ stage MCM3001
- Optotune Lens EL-16-40-TC (Lense Driver 4i)
- PCO CMOS Edge 4.2 SUB camera
- JSS-step motor 42HS series (through an arduino UNO and silent step driver TMC2130 V2)