Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


MIDI LP pipeline by Leonard Burtscher,
6 June 2012

--- Requirements ---
- EWS 2.0 beta1 or later; EWS can be obtained from
- For plotting, the Coyote Graphics System is required (

--- Installation ---
This pipeline needs to know about three directories: itself, raw data, reduced data

Set the following environment variables
$MIDITOOLS		contains all scripts; must be in IDL's search path or loaded manually
$MIDIDATA		The pipeline expects raw data in this directory in subdirectories like 
				YYYY-MM-DD, where the date is the date of night begin. The filenames of 
				the individual FITS files must be the original ESO filename (ARCFILE 
				keyword in header). A valid path could look like this 
$MIDIREDDIR		The reduced data will be stored in this directory in subdirectories like 
				YYYY-MM-DD, i.e. the EWS 'tag' is $MIDIREDDIR/YYYY-MM-DD/HHMMSS. A popular 
				choice for this is '/tmp'. The output of EWS' oir1dCompress of the above 
				mentioned file is written to $MIDIDATA/2009-12-02/023423.compressed.fits

To add MIDITOOLS to your IDL path add the following to your
!path =	EXPAND_PATH('+'+getenv('MIDITOOLS')) +  ':' + !path

Local configuration files and intermediate data products reside in $MIDITOOLS/local.
Example files are included in this package; you will have to modify them if you are
interested in different targets.

--- Features ---
- To reduce an observation call dr/lpw (see instructions there)
- To check the quality of an observation, run qc/obs_good (see instructions there)
- Produce a quality control plot for a fringe track or photometry observation using QC_track or QC_phot

--- Bug reports ---
These scripts have not been tested on any machine except mine, some dependencies might not
be resolved. Please contact me if you encounter any bugs or strange behaviour. Thanks!

--- To come ---
- scripts to produce your own obs_db.sav
- scripts to reduce all observations of a target
- scripts to do simple fitting
- scripts to plot spectra, (u,v) planes etc., quality control plots
- scripts to do weak source calibration including decorrelation correction and taking into account conversion factor RMS


Automatically exported from



No releases published
You can’t perform that action at this time.