This repository is maintained by J. G. Fernandez-Trincado. Feel free to check it out, make comments, and provide me with some feedback. I will update the design of it eventually, since at the moment, I have just literally slapped a beta version onto the "default" design of the repository.
If you have any comments, suggestions, and/or complaints, please contact me: jfernandez@obs-besancon.fr and/or jfernandezt87@gmail.com
- Turbospectrum code for spectral synthesis v15.1 can be found at Turbospectrum code for spectral synthesis v15.1
- I also recommend to use a more complete version for spectral synthesis for Apogee spectra, developed in Python by Jo Bovy.
Manualsynthesis.py is a Python script for the treatment and analysis of stellar spectra. Some of the main functionalities of this script are the following:
Instructions to make spectrum synthesis star-to-star and line-to-line. Below are instructions for this:
-
NOTE:The Python script is fully functional and only works for APOGEE spectra, but can be extended to other cases, if you want to use it in another spectral range, please contact me to discuss the applicability to your case. -
Download the main Python program at: Manualsynthesis.py
-
Download the atmosphere model at:
3.1 Kurucz model (this requires your trac account)
3.2 MARCS model (this requires your trac account)
- Download your spectrum at:
4.1 SDSS-IV Spectra (this requires your trac account)
-
Download the window list at: windows_apogee_manual_vac.dat (this requires your trac account)
-
Run the Python script:
5.1 Option 1: > python Manualsynthesis.py
5.2 Option 2: > ./Manualsynthesis.py
-
Input and Output (example). This program find the best-fit between the synthetic spectrum and the observed spectrum using the Chi^2 technique.
-
Disclaimer:The manual analysis is made at your own risks. The author is not responsible for wrong applications of their program. In case you would like complementary informations, you may contact me directly (jfernandez[at]obs-besancon.fr and/or jfernandezt87[at]gmail.com).
Instructions to make spectrum synthesis for many APOGEE stars line-to-line. Below are instructions for this:
In construction ...
- Conversion from vacuum to standard air wavelengths can be found at VAC2AIR/AIR2VAC
- Radiative Transfer in Stellar Atmospheres can be found at Review
If you use TurbospectrumPy in your research, we would be grateful if you could include an acknowledgment in papers and/or presentations:
"This research made use of TurbospectrumPy, a community-developed core Python package for Astronomy."
Thanks.

