Closed MingjieJian closed 1 year ago
The wavelength array is calculated in lines 429-439 of Smooth.f
and stored in the xsyn
. The type of xsyn
is defined in Equiv.com
as real4. Such precision is not enough for wavelength larger than ~16000A, so the wavelength grid has some problems. Changing the type form real4 to real*8 can solve the problem.
This bug has been solved in version 0.0.28.
The wavelength of the synthetic spectra is not equidistant after16384.02A, as shown in the following figure:
Such in-equidistant wavelength is not related with linelist, wav_start nor del_wav. I suspect that there is some bug in MOOG.