PHASE Home Page
PHotometry Assisted Spectral Extraction
Sylvain Baumont and the SNLS team at LPNHE.
PHASE is a reduction and extraction package designed
for the SNLS spectroscopic observations at VLT-FORS1.
It's architecture has two levels :
- Low level C++ routines to perform
the raw images combining and calibration and to perform the spectrum
extraction from the 2D combined spectrograms.
- High level Python scripts to perform the Data-Base requests and
to edit the Data-Cards used as input for the C++ routines.
For a discussion on PHASE performance,
please read arxiv:0809.4407
Please contact me if you plan to use this Package.
Shall you use succeed using PHASE for your own research, please refer to
"Baumont, S.,Balland, C., Astier, P.,et al. 2008, A& A, 491, 567"
in your publication.
Source Code Archive :
You can download a tar.gz archive containing the source code, a sample of
raw data to be reduced and the Data-Cards needed :
Before running 'setup.csh' :
- $ tar zxvf PHASE_pack.tar.gz
- $ cd phAse
- $ ./setup.csh
- you must have the $CFITSIOINCDIR and $CFITSIOLIBDIR environment variables defined.
- you must define the $PHASEPATH environment variable to '/home/whereis/phAse/'.
- you must have the 'lapack' CERN library installed.
If you want to test the C++ routines (Python scripts are VERY environment dependant),
refer to the "lowlevel_sampledata_prod.txt" hereafter.
If you want to directly consult the source code, navigate here :
Some kind of User Guide :
For General information about SNLS data processing with PHASE,
and about the internal parameters, please read this :
For a description of the low level, stand alone processing of the
sample data given in the 'PHASE_pack' archive, please read that :