How to convert .mt file with a spectrum to a more convenient format, please? I am able to display that in fv: Fits Viewer, but I am lost in converting. Thank you
-
3Can you please edit your question to include a link to an example file ? – astrosnapper Apr 09 '21 at 22:01
-
Sure, I have added it. – Elena Greg Apr 10 '21 at 03:24
1 Answers
.mt files are the output files (or possibly intermediate ones as the final products in the ESO archive have .fits extensions) produced by the ESO-MIDAS data reduction system for the (in this case) FEROS echelle spectrograph. The individual echelle orders have been extracted from the original 2D CCD images, flattened, wavelength calibrated and joined together into a 1D spectrum.
The .mt files are FITS files however the fact that they are 1D can cause some issues for normal image viewers; the ESO archive has some help on how to setup various tools (including fv) for displaying 1D spectra. In this case, since the file is a standard FITS file, regular FITS tools e.g. AstroPy, IRAF, MIDAS etc will work to convert the file and the ESO archive link above has info on how to do this in Python, IDL and IRAF.
One relatively pain-free option could to use Splat-VO to do the plotting, investigation and conversion. (When loading the .mt spectrum you will need to either rename the extension to .fits or tell Splat-VO the file format is FITS as it won't be auto-recognized). Once it's loaded in, you can convert to a variey of formats, including ASCII/text.
- 8,357
- 1
- 21
- 40
-
-
1Not really, Splat-VO is meant as an interactive investigation tool. Not knowing the level of FITS spectra experience of you or future readers of this question, it seemed a good starting point. For en-masse data conversion/manipulation, a data reduction environment such as Starlink, IRAF or MIDAS (ordering based on my level of knowledge) or programming language such as Python+specutils or IDL would be better with choice based on preference and current and future use – astrosnapper Apr 10 '21 at 19:32
-