Tool muse_fill_image
Detailed Description
muse_fill_image: fill a MUSE three-extension image with constant(s).
This is mainly for technical uses, e.g. to circumvent the need to pass flat-fields to muse_scibasic by using flat-fields filled with ones and minimal variance.
Command line arguments:
-d datavalue (optional, default: 1.)
constant to fill into the DATA extension of the MUSE image
-q dqvalue (optional, defaults none)
constant to fill into the DQ extension of the MUSE image, has to be between zero and 2^31 by default, the DQ extension is not touched
-s statvalue (optional, default: 0.)
constant to fill into the STAT extension of the MUSE image, has to be non-negative
IMAGE_IN
the filename of the image file to read
IMAGE_OUT
the filename of the image file to write
Return values:
0
Success
1
no filenames given
2
argument -d without datavalue
3
argument -q without dqvalue
4
dqvalue given after -q is not valid
5
argument -s without statvalue
6
statvalue given after -s is negative
9
unknown option given
10
IMAGE_IN cannot be loaded
20
IMAGE_OUT cannot be saved