muse_trace_plot_samples: Plot tracing sample points.
Debug tracing issues using a graphical representation of the tracing sampling points written into the TRACE_SAMPLES table by the muse_flat recipe.
Command line arguments:
-s1 first_slice
(optional, default: 24)
first slice number for plotting
-s2 last_slice
(optional, default: 25)
last slice number for plotting
-n nifu
(optional, default: load first FITS extension with data)
IFU/channel number to use
TRACE_SAMPLES
the filename of the tracing samples file to use
TRACE_TABLE
(optional)
filename of a tracing table (as produced by the MUSE pipeline) to overplot the tracing solution
MASTER_FLAT
(optional)
filename of a master flat image (as produced by the MUSE pipeline) for background display
- Note
- Plotting performance is affected a lot by the number of slices plotted and the use of a flat-field image for background display
Return values:
0
Success
1
no filename given
2
argument -s1
without any number
3
argument -s2
without any number
4
argument -n
without any number
5
argument -n
with invalid IFU number
9
unknown option given
10
samples table could not be loaded from file
11
file does not seem to contain a MUSE samples table
12
temporary file for plotting could not be created
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.