Tools

Required libraries

Most of the tools available here are coded in IDL. To make sure that they work properly on your system, you should the following libraries have available in your IDL path:
astronomy user's library
MPFIT
coyote library
maskinterp library (local copy)
The ESO eclipse library also contains very useful tools, such as the dfits, dtfits and fitsort utilities. The library is not maintained any longer, but it should compile on most recent systems:
ESO eclipse library page
Local copies of dfits/dtfits/fitsort for Linux and Mac OS X

VLT/SPHERE tools

Near-infrared neutral densities

This code allows to compensate the effect of the neutral density filters that may have been used during SPHERE/IRDIFS observations, e.g. to avoid saturation when acquiring and off-axis PSF ("FLUX" in ESO templates and documentation). The code include a function dedicated to IRDIS, which gives the compensation factor to apply for a given filter combination, and a more generic function, which can be used to calibrate IFS or IRDIS/LSS spectroscopy data. The routines are based on (and include) the transmission curves of all IRDIS filters, which are available on the SPHERE filters page at ESO.
transmission_sphere.tar.gz - [392 kB] - IDL programs and filter transmission curves

IFS reduction pipeline

Vigan et al. 2015, MNRAS, 454, 129
This code includes a full data reduction pipeline for SPHERE/IFS data, which allows to go from the raw data, to the properly calibrated and aligned (x,y,λ) data cubes. It does not contain advanced data analysis routines (PCA, LOCI, etc). The pipeline is a combination between the official SPHERE pipeline and additional custom IDL routines developed specifically. This pipeline and its implementation are described in Vigan et al. (2015). The pipeline is released under the MIT license. You are free to use it for your research, but I kindly ask you to cite the above reference in your publication that made use of this pipeline (or parts of it). A more extensive documentation is included in the package.
data_reduction_ifs_v1.2.tar.gz - [37 kB] - full pipeline

IRDIS/LSS reduction pipeline

Vigan, 2016, ASCL, 1603.001
This code is a full data reduction and analysis pipeline for the SPHERE/IRDIS long-slit spectroscopy mode, which allows to go from the raw data to the extraction of the spectrum of a companion. The pipeline is a combination between the official SPHERE pipeline and additional custom IDL routines developed specifically. The pipeline is released under the MIT license. You are free to use it for your research, but I kindly ask you to cite the above reference in your publication that made use of this pipeline (or parts of it). A more extensive documentation is included in the package.
sph_ird_lss_v1.2.tar.gz - [50 kB] - full pipeline