# How does one determine the effective temperature of a star from its spectrum?

Determining effective temperature of a star is in general a non-trivial task. Simple reason for this is that we can only study the electromagnetic radiation from a star, but not the temperature directly. The complexity is due to the fact that the radiation is produced in stratified stellar atmospheres, which are only partially characterised by stellar temperature, but also by many other factors, such as stellar mass, elemental abundances, stellar rotation, etc. What is more, the temperature of atmospheres varies with depth, whereas effective temperature is just a number.

From the other hand, temperatures and magnitudes are the most important quantities, characterising stars.

So, the question: How exactly does one use the spectrum to extract the information about the temperature of a star? By temperature here I mean effective temperature, or even the temperature profile of the atmosphere.

Note: This a rather textbook question. I created it because I have encountered a good existing answer by @Carl, previously posted in a bit less textbook discussion How well can we in principle determine $T_{\textrm{eff}}$ of a star? . This question seems to be a much better place for the answer.

Temperature ($$T_{eff}$$) can be quite tricky to determine accurately as it interrelates to a number of other fundamental measurements.

Firstly, remember that the spectrum we observe from stars are pin-point, they give us the entire overall result and not a specific location or part of the star. We need to dissect the various parts to arrive at the fundamental parameters. We arrive at our results by iterating the values of the fundamental parameters until a model spectrum matches the true spectrum we observe. The issue is, like you say, the existence of a whole lot of uncertainties.

The first of these (although it doesn't have a large effect) is the Uncertainty Principle itself. This creates natural line broadening due to the emitted photon having a range of frequencies. The width of the line is determined by;

$$\Delta E \approx \frac{h}{T_{\text{decay}}}$$

where $$\Delta E$$ is the uncertainty in the energy, $$h$$ is the Planck constant, and $$T_{\text{decay}}$$ is the amount of time the electron stays in a high energy state before decaying.

## Fundamental parameters

The rotation of the star causes a Doppler shift effect on the line spectra making it broaden. The faster the rotation, the broader (yet smaller) the line. Like the Uncertainty Principle, this is natural broadening as it doesn't impact the abundance of any particular element in the star.

Measuring the rotational velocity ($$V_{\text{proj}}$$) depends on both its axis of rotation and our line of sight to the star. Therefore, we use a combination of both velocity about the equator ($$v_e$$) and the star’s polar inclination ($$i$$) to determine the projected radial velocity;

$$V_{\text{proj}} = v_e \sin i$$

Temperature ($$T_{eff}$$)impacts wavelength in such a way that higher temperatures impart higher random motions on the atoms. When these photons collide with an atom, they can cause the atom to become ionised, i.e. lose an electron. Different energy levels (and therefore temperature) will create different abundances at the various ionisation stages of atoms.

The temperature of the stellar photosphere decreases as we move away from the core. Therefore the line profile represents a range of temperatures. The wings of the line arise from deeper, hotter gas which displays a larger range of wavelengths due to increased motion. The higher the temperature, the broader the wings of the line profile ([Robinson 2007, pg 58]).

Here you can see the effect of various temperature values on the synthetic spectral line of FE I 6593 A. Red: $$T_{eff}$$ = 4000K; Black: $$T_{eff}$$ = 5217K; Blue: $$T_{eff}$$ = 6000K; $T_{eff}$ on spectral lines">

Microturbulence ($$v_{\text{mic}}$$) is the non-thermal localised random motion of the stellar atmosphere. It works in a similar way to temperature - an increase in the motion of atoms creates a wider range of wavelengths observed and therefore broader line profiles.

In strong lines, saturation can occur when there aren’t any more photons to be absorbed. As microturbulence in these areas increases, it presents more opportunities for photons to be absorbed. This broadens the wings of the line profile increasing the overall strength of the line. We can use this fact to determine $$v_{\text{mic}}$$, by ensuring that the strength of the lines (equivalent width) have no correlation with their abundances.

Finally, surface gravity which is a function of the star’s mass and size:

$$\log g = \log M - 2 \log R + 4.437$$

with $$M, R$$ being in solar units and $$g$$ in cgs.

A star with a higher mass but smaller radius will invariably be denser and under greater pressure. By definition, denser gas has a higher number of atoms per unit of area (abundance), leading to stronger spectral lines.

A gas under pressure provides more opportunities for free electrons to recombine with ionised atoms. For a given temperature, ionisation is expected to decrease with an increase of surface gravity, in turn increasing the abundance of atoms in the neutral or low ionisation states.

## The measuring of $$T_{eff}$$

As we've seen, there are a number of ways in which a spectrum of a star can be altered. The one you're interested in is temperature. As temperature is interrelated to all the other fundamental parameters, we need to treat them together as a whole and tease out the value of $$T_{eff}$$.

We begin with a synthetic spectrum and modify its properties iteratively until it matches the shape of the star’s spectrum. Adjustments of one parameter will invariably affect the others. The spectra will match when the temperature, surface gravity, and microturbulence values (amongst others) are correct. This is obviously very time consuming although programs exist to help.

Atmospheric properties can also be determined by other less time consuming means. Photometric colours can be used as a proxy for temperature, and absolute magnitudes for surface gravity. However, these determinations can suffer from inaccuracies due to interstellar extinction and are at best a close approximation.

 Robinson, K. 2007, Spectroscopy: The Key to the Stars (Springer)

• This doesn't mention the most fundamental of assumptions. That the crude (usually plane parallel) single component atmosphere mdel adequately represents the real atmosphere of a star. $T_{eff}$ is a defined quantity in terms of luminosity and radius. The $T$ measured by spectroscopy is not $T_{eff}$, though many assume it to be, and is entirely model-dependent. – Rob Jeffries Oct 18 '15 at 15:13
• @RobJeffries, you're absolutely correct. Thanks for pointing that out. :) – Carl Oct 18 '15 at 22:16

There are many different ways to measure temperature of an astronomical object. Typically, effective temperature means just simply a blackbody temperature. However, the blackbody model is just the first-order approximation that we know it is inaccurate in many circumstances.

If you have a nice spectrum from a wide wavelength, your effective temperature might be better to be defined as the excitation temperature. However, what definition you should use really depends on what context you are in. Check this for a short summary: https://www.physics.byu.edu/faculty/christensen/Physics%20427/FTI/Measures%20of%20Temperature.htm

• Thanks, Kornpob! Note, however, that photospheric temperature determined from the spectrum is the physical temperature of matter in the photosphere, and it is not derived from a black-body approximation. The latter is very common in photometry though. – Alexey Bobrick Nov 29 '18 at 7:33
• Both paragraphs have problems. The effective temperature is $(L/4\pi R^2\sigma)^{0.25}$. Full stop. To measure it you need the luminosity and radius of the star. Fitting a spectrum can only yield some estimate of the effective temperature that is model dependent. – Rob Jeffries Nov 29 '18 at 7:54
• - I don't think you need a radius. You can set a multiplicative constant to scale fluxes as a fit parameter, together with the temperature. The radius will already be in side the constant. - If the photosphere is optically thick, at the limit it is blackbody radiation. – Kornpob Bhirombhakdi Nov 29 '18 at 14:56