# Guitastro Device OPTEC library GUITAstro stands for General Use of Instruments and Telescopes in ASTROnomy. GuitAstro is a Python module that provides classes and methods to write easily Python scripts for astronomical observations. [GIT repository: https://gitlab.irap.omp.eu/guitastrolib/guitastro.git](https://gitlab.irap.omp.eu/guitastrolib/guitastro.git) Guitastro device Optec complete Guitastro to provide access to OPTEC focuser drivers: [GIT repository: https://gitlab.irap.omp.eu/guitastrolib/guitastro_device_optec.git](https://gitlab.irap.omp.eu/guitastrolib/guitastro_device_optec.git) ## Few basic examples of use First example: To connect a Optec controler and drive a focuser: ``` import guitastro import guitastro_device_optec dev = guitastro_device_optec.Device_Optec() dev.open(False) dev.commandstring("focuser SET target 50000") dev.commandstring("focuser GOTO") ``` ## Guitastro functionalities GuitAstro device Optec wraps the driver functions dispatched into the classe: - **Device_Optec**: Manage device Optec drivers. This class inheritate from the classes Component* of Guitastro. As a consequece, it is needed to install Guitastro before using Guitastro Optec. A complete documentation can be generated from .rst files in the folder doc/doc_rst ## Support and contact The main author is alain.klotz@irap.omp.eu