For all programs discussed here, you can specify the parameters on the command line. Or just type the program name, the program will ask for the parameters.
fixfits: fits-file conversion
It sometimes happens that converting a FITSfile to the karma format , or loading it directly, gives problems. This is because the karma fits reader may fail to trap non-standard FITS. If this happens to you, please notify Richard Gooch (firstname.lastname@example.org), who will attempt to add a trap so that the data can be converted. A work-around is to try to copy the FITS file to another FITSfile using fixfits. This program copies the FITSfile while getting rid if most of the FITSheader. fixfits retains the information on the coordinate system of the map.
Using fixfits is very simple:
fixfits <infile> <outfile>
kglue: glueing movies
kglue will glue to movies into one movie, showing the two side by side. This glued movie can again be played with kubes or kview.
To run kglue:
kglue <first infile> <second infile> <outfile>
It is a requirement that the two input movies have the same size in X, Y and Z. Use kprthead to find out these sizes.
kprthead: print some header information
kprthead prints some limited header information of a karma data file. It prints the dimensions of the data, plus some information about the name, units, the coordinates and coordinate system:
kexcub: extracting sub-cubes
kexcub can be used to extract a sub cube from a datacube. It can also be used to extract the non-empty images of a movie made with ktrek.
kexcub <infile> <outfile> <lower x> <upper x>
<lower y> <upper y> <lower z> <upper z>
Note: the first pixel on an axis has index 1, not 0.