edermartioli / sparc4-pipeline

SPARC4 Pipeline is a set of tools to reduce SPARC4 observations.
GNU General Public License v3.0
4 stars 2 forks source link

Alt text

sparc4-pipeline

The sparc4-pipeline is a set of routines that make use of the AstroPoP package and other astronomical packages to reduce the data of photometric and polarimetric observations obtained with the SPARC4 instrument installed at the Pico dos Dias Observatory (OPD/LNA). The pipeline has a main module called sparc4_mini_pipeline.py to run the pipeline from the command line and allow the reduction of data from the four SPARC4 channels automatically. The pipeline also has a file called sparc4_params.yaml with the pipeline execution parameters, where one can configure the reduction parameters according to the science needs.

WARNING: The current version was tested with AstroPoP Version: 0.9.3

Installation

git clone https://github.com/edermartioli/sparc4-pipeline.git

cd sparc4-pipeline

pip install -U .

Execution

Below is an example to run the SPARC4 pipeline :

python -W ignore ~/sparc4-pipeline/scripts/sparc4_mini_pipeline.py --nightdir=20230605 -vp

The pipeline routines are organized in the following 5 main libraries:

These libraries can also be used independently to reduce data step by step, as in the examples provided in the Jupyter notebooks.

Download the minidata package containing SPARC4 data to test the pipeline. You may also want to downaload the minilcdata package containing time series data in photometric mode.

See the SPARC4 Quick Tutorial (in Portuguese) to start using the pipeline quickly.

The SPARC4 pipeline is under development in collaboration with the scientific community. If you are interested in collaborating, send an email to the pipeline team at the following address: sparc4-pipeline@googlegroups.com.