Tool muse_wave_plot_residuals
Detailed Description
muse_wave_plot_residuals: Plot wavelength calibration residuals.
Debug wavelength calibration issues using a graphical representation of the wavelength calibration fit residuals written into the WAVECAL_RESIDUALS table by the muse_wavecal recipe.
Command line arguments:
-n nifu (optional, default: load first FITS extension with data)
IFU/channel number to use
-s slice (optional, default: 0 = all slices)
slice number for plotting
-i iteration (optional, default: 0 = last iteration)
iteration to plot
-l (optional)
plot over lambda rather than over vertical pixel coordinate
-c (optional)
two values to determine the color cuts for the plot
WAVECAL_RESIDUALS
the filename of the wavelength calibration residuals file to use
Return values:
0
Success
1
no filename given
2
argument -s without any number
3
argument -i without any number
4
argument -c without numbers
5
argument -n without any number
6
argument -n with invalid IFU number
9
unknown option given
10
residuals table could not be loaded from file
11
file does not seem to contain a MUSE residuals table
12
requested iteration not found in the table
20
the platform does not support pipes [popen()/pclose()]
21
gnuplot could not be opened
50
unknown error
- Note:
- This program only works, if the gnuplot plotting program is installed.