Blame view

README.md 1.88 KB
40979e83   Alain Klotz   readme bugfix
1
# Guitastro Device Quickaudine library
1f268876   Alain Klotz   First commit
2
3
4
5
6
7
8

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)

40979e83   Alain Klotz   readme bugfix
9
Guitastro device Quickaudine complete Guitastro to provide access to Quickaudine camera drivers:
1f268876   Alain Klotz   First commit
10

40979e83   Alain Klotz   readme bugfix
11
[GIT repository: https://gitlab.irap.omp.eu/guitastrolib/guitastro_device_quickaudine.git](https://gitlab.irap.omp.eu/guitastrolib/guitastro_device_quickaudine.git)
1f268876   Alain Klotz   First commit
12
13
14

## Few basic examples of use

40979e83   Alain Klotz   readme bugfix
15
First example: To connect a Quickaudine controler and acquire an image:
1f268876   Alain Klotz   First commit
16
17
```
import guitastro
40979e83   Alain Klotz   readme bugfix
18
import guitastro_device_quickaudine
1f268876   Alain Klotz   First commit
19

40979e83   Alain Klotz   readme bugfix
20
dev = Device_Quickaudine("QUICKAUDINE", name="Quickaudine")
1f268876   Alain Klotz   First commit
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dev.open(True)
dev.commandstring("camera SET exptime 0.1")
dev.commandstring("camera DO ACQ START")
while True:
    timer = dev.commandstring(camera GET timer)
    if timer == -1:
        break
    time.sleep(1)
ima = dev.component('camera').ima
ima.save("my_image.fit")
```

## Guitastro functionalities

40979e83   Alain Klotz   readme bugfix
35
GuitAstro device Quickaudine wraps the driver functions dispatched into the classes:
1f268876   Alain Klotz   First commit
36

40979e83   Alain Klotz   readme bugfix
37
- **Device_Quickaudine**: Manage device Quickaudine drivers.
1f268876   Alain Klotz   First commit
38
39

This class inheritate from the classes Component* of Guitastro.
40979e83   Alain Klotz   readme bugfix
40
41
42
As a consequece, it is needed to install Guitastro before using Guitastro Quickaudine.
Moreover, this class imports internally a Python wrapper to use the needed libraries.
You need to compile the python wrapper *wrapper_quickaudine*:
1f268876   Alain Klotz   First commit
43
44

```
40979e83   Alain Klotz   readme bugfix
45
$ cd guitastro_device_quickaudine/src/wrapper_quickaudine
1f268876   Alain Klotz   First commit
46
47
48
49
50
51
52
53
54
$ python setup.py build_ext --inplace
```

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