PySacherECLControl is a python project developed to control Sacher TEC lasers. This project offers a convenient interface for users to interact with the laser, adjust parameters, and perform various operations for laser control and management.
Project description
Laser Control: Python Project for Sacher TEC Laser Control
PySacherECLManager (Python Sacher External Cavity Laser) is a Python project developed to control Sacher TEC lasers. This project offers a convenient interface for users to interact with the laser, adjust parameters, and perform various operations for laser control and management. Features
-
Laser Parameter Adjustment: Laser Control allows users to adjust parameters such as wavelength and speed settings.
-
User-friendly Interface: The project offers an intuitive graphical user interface (GUI) for easy navigation and control.
-
Works with the Analog Discovery 2 driver: Requirements
-
Python 3.x
-
Sacher TEC laser hardware (compatible models)
-
Dependencies specified in requirements.txt
Installation
Clone the repository:
git clone https://github.com/agentsmith29/fs.lasercontrol.git
Install dependencies:
Place the Sacher Laser Library in your working directory
# Create a virtual environment
python -m venv .venv
# Activate the virtual environment
. .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
After installing, you need to set the pathes to the Sacher Libaray using
the config.py
file.
conf = Laser.Config()
conf.save()
#conf.load('./LaserConfig.yaml', as_auto_save=True)
conf.autosave(True, './LaserConfig.yaml')
# Set the path to the EposCmd64.dll and the SacherMotorControl.pyd
conf.epos_dll.set(pathlib.Path(
f'{Laser.__rootdir__}/libs/SacherLib/PythonMotorControlClass/EposCmd64.dll'))
conf.motor_control_pyd.set(pathlib.Path(
f'{Laser.__rootdir__}/libs/SacherLib/PythonMotorControlClass/'
f'lib/Python312/SacherMotorControl.pyd'))
See (main.py)[./examples/main.py] for an example.
Run the main script:
python examples/main.py
Use the graphical interface to adjust laser parameters, monitor data, and control the laser. Refer to the user manual or documentation for detailed instructions on specific operations and functionalities.
Contributing
Contributions to Laser Control are welcome! If you have suggestions for improvements, encounter any issues, or would like to add new features, please feel free to open an issue or submit a pull request on the GitHub repository.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pysachereclcontrol-1.1.7.tar.gz
.
File metadata
- Download URL: pysachereclcontrol-1.1.7.tar.gz
- Upload date:
- Size: 5.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 930d92fdda52fd206ff12f07fdef071a622d2ebdc2fad8402c8c5f80159b8494 |
|
MD5 | e0488933bf11c3e21b14b84d324dfdbb |
|
BLAKE2b-256 | 8429f37b898f3aec2f26b3938640d896f3cacec8f7dfae8332a01f73564a76aa |
File details
Details for the file pysachereclcontrol-1.1.7-py3-none-any.whl
.
File metadata
- Download URL: pysachereclcontrol-1.1.7-py3-none-any.whl
- Upload date:
- Size: 599.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fd03b5c4f66a1014bbbd3082220740e5b30ee0475c88299b442c261a36e5004 |
|
MD5 | bd5dc4fa84ad326f8012fe121262d518 |
|
BLAKE2b-256 | bfe3b26dfcaf1b2140c13459483fdaf6c3ea94c785d4cfa7210a2c3904b4fde8 |