Closed AlexSokokoliuk closed 3 years ago
Hi,
Best would be for you to share your spectra file so I can try to reproduce the issue. I see some possible problems in your input: 1- Your linedata seems to have only integer numbers, and close you have some chars of the element of each line.
Try to do something like:
Wavelenght Element name
----------------------------------------------------------------------------------------------------------------
1215.00 Ly alpha
1240.00 N V
1549.00 C IV
1640.00 He II
1908.00 C III
2799.00 Mg II
...
2- Be sure that the units of your wavelength in the spectra is in Angstroms.
If you share your spectra I can try to reproduce the problem and try to help you more on this.
This is my spectra flux fits file. https://dropmefiles.com/ViizF I edited line list file, problem with spectra, because this error appeared:
READING FITS FILE: fdsfsdfs.fits
Ficheiro Aberto...Error: only 1D or 2D images are supported
Cleaning zero gaps
Indeed this fits file does not have the "standard" format for ares. ARES reads 1D fits file in the same format as it was done in the splot routine in IRAF.
You need to have one single extension and in the header you need the fits keywords: CDELT1 CRVAL
Solution: Reformat your fits spectrum in to the IRAF like which is compatible with ARES. OR, you can create an ascii file with two columns, wavelenght and flux. ARES can also work with ASCII files
Hi! I have some troubles with launching ARES software. This is an output of program (When I'm launching ./ARES in the bash):
This is my mine.opt:
And this is my line data file:
And finally this is beginning of my 1D SDSS DR16 spectra file: