PANIC Pipeline Documentation

Date:April 07, 2017


This “Documentation” is still a work in progress; some of the material is not organized, and several aspects of PAPI are not yet covered with sufficient detail.

Welcome! This is the Documentation for PAPI, the Data Reduction Pipeline of PANIC instrument, and for PANIC Quick-Look Tool (PQL), the GUI of PAPI used during the observation; all processing routines used by PQL are implented in PAPI.

PAPI is the automatic image processing pipeline for data taken with the PAnoramic Near Infrared Camera (PANIC) for the 2.2m and 3.5m Telescopes at Calar Alto Observatory (CAHA). The pipeline is written in Python and developed at the Institute of Astrophysics of Andalusia (CSIC). The automated processing steps include basic calibration (removeing instrumental signature), cosmic-ray removal, treatment for electronic ghosts (cross-talk), sky subtraction, non-linear count-rate correction, robust alignment and registration.

This manual is a complete description of the data reduction recipes implemented by the PAPI pipeline, showing the status of the current pipeline version and describing data reduction process of the PANIC data using PAPI.

Although PAPI was developed for the PANIC camera, its development was initiated using data from Omega2000 camera at the 3.5m CAHA telescope and HAWK-I camera at the VLT; thus, in principle it should work with data these instruments, although it is not optimized for them.

In addition to this html version of the manual, there is also a pdf version to download.

Development: José-Miguel Ibáñez-Mengual (IAA-CSIC)

Contribution: PANIC Team


Currently PAPI it is able to reduce data taken with the Observing Tool (OT) defining the required observing blocks (OB), or manually through GEIRS scripts. PAPI was primarily developed and optimized for reducing broad-band imaging data of extragalactic sources (such as imaging data taken for field galaxy surveys and galaxy cluster surveys). Other types imaging data have been reduced with PAPI but results can not be as good as desired. (See Troubleshooting for tips). PAPI is not designed to reduce any kind of field taken with PANIC.



If your research uses PAPI, we’d appreciate it if you could acknowledge the fact by including the following citation:

“This research made use of PAPI, the pipeline of PANIC instrument. It is funded by the Spanish Ministry of Economy and Competitiveness with funds from the European Union (FEDER) and the Spanish national budget, through the grants ICTS-2006-15, ICTS-2007-10, ICTS-2008-24, ICTS-2009-32 and the project Intramural 200450E458 of the Spanish National Research Council.”

  • Ibáñez Mengual, J.M., Fernández, M., Rodríguez Gómez, J. R., García Segura, A. J., Storz, C., “The PANIC software system”, Proc. SPIE 7740, 77402E (2010)
  • Ibáñez Mengual,J.M, García A.J, Storz C., Fried J. W., Fernández M., Rodríguez J. F., “Advanced PANIC quick-look tool using Python”, Proc. SPIE 8451, (2012)

Indices and tables

Documentation last updated on April 07, 2017