The Simultaneous Polarimeter and Rapid Camera in Four Bands (SPARC4) is a new astronomical instrument developed by Instituto Nacional de Pesquisas Espaciais (INPE), in collaboration with Laboratório Nacional de Astrofísica (LNA), that is currently installed on the Perkin-Elmer 1.6 m telescope of Picos dos Dias Observatory (in Portuguese, OPD). SPARC4 was developed to allow simultaneous photometric and polarimetric acquisitions in the g, r, i and, z bands of the Sloan Digital Sky Survey (SDSS). The data acquisition is done using four Electron Multplying CCD cameras, one for each optical band of the instrument, produced by Oxford Instruments. The control of SPARC4 is done by a set of dedicated softwares. These softwares are the Camera Control System (S4CCS), the Instrument Control System, and the Graphical User Interface (S4GUI). S4CCs is responsible for controlling the scientific cameras of the instrument. S4ICS controls its moving mechanisms. S4GUI is an user interface the coordinates all the sub-systems of SPARC4.
For the development of S4CCS, the graphical programming language Laboratory Virtual Instrument Engineering Workbench (LabVIEW) 2018 was used together with the Software Development Kit (SDK) made available by the Oxford Instruments for the communication with the cameras. The data acquired by the cameras are saved in Flexible Image Transport System (FITS) files, created using python scripts. These scripts are run using an integrated library of LabVIEW for running Python interpreters. With the current version of S4CCS, it is possible to acquire a series of 1400 images of 1024 x 1024 pixels, with an overhead of 1.7 ms between images. Besides, it is possible to acquire several series of 1400 images, with an overhead of 120 ms between series.
These instructions will get you a copy of the .exe of S4CCS on your local machine for testing purposes.
S4CCS uses a Python 3.6 (32-bits) interpreter to run the scripts responsible for saving the FITS files. This is the most recent version of Python supported by LabVIEW 2018. It should be downloaded and installed on your local machine. After that, some python dependencies mustbe installed too. For that, run the following command:
pip install dataclasses astropy numpy pandas
- Download and extract the S4CCS .zip file found in this link.
- Inside the extracted folder, there is a file name
acs_config_TEMPLARE
. This file has the configuration that S4CCS needs to run and it must be placed in the pathC:\Users\<user_name>\SPARC4\CCS\acs_config.cfg
(without the_TEMPLATE
string). - Running the executable
S4CCS.exe
, an interface will show up. It should be similar to the image presented below. In this interface, set theuse config file
buttom in the most top panel toNO
. This will set S4CCS to use the information presented in theInit configuration
panel to initialize. - Configure the
Init configuration
panel according to your local environment. Table presented in this link presents a description of the parameters cotained in this panel. - After this configuration, you should be able to run the software by pressing the white arrow at the top of the window.
Parameter | Description |
---|---|
Remote IP | IP from where S4CCS will receive a query |
Channel | The current channel of the instrument |
CCS mode | The mode of S4CCS (real or simulated) |
Communication | The type of communication that should be used (TCP-IP or ZeroMQ) |
Image path | The path where the acquired images should be saved |
The control of S4CCS can be done by using ethernet request...
- Do this
- Do that
-
Denis Bernardes (main developer)
-
Claudia Vilega Rodrigues (supervisor)
- Affiliation: Instituto Nacional de Pesquisas Espaciais (INPE).
- Address: 1758 Astronautas Avenue, Jardim da Granja, São José dos Campos, São Paulo, Brazil.
-
Eder Martioli (supervisor)
- Affiliation: Laboratório Nacional de Astrofísica (LNA).
- Address: 154 Estados Unidos Street, Nações, Itajubá, Minas Gerais, Brazil.
-
Luciano Fraga (supervisor)
- Affiliation: Laboratório Nacional de Astrofísica (LNA).
- Address: 154 Estados Unidos Street, Nações, Itajubá, Minas Gerais, Brazil.
-
Orlando Verducci Júnior (contributor)
- Affiliation: Laboratório Nacional de Astrofísica (LNA).
- Address: 154 Estados Unidos Street, Nações, Itajubá, Minas Gerais, Brazil.
This project is licensed under the MIT License - see the LICENSE.md file for details