<blockquote>
<p>We all know that green is a mixture of blue and yellow, and that purple is a mixture of red and blue.</p>
</blockquote>
<p>Only humans (and other animals with human-like color perception) know that.</p>
<p>For a spectrometer a mixture of red and blue light will look exactly like that, a mixture. It will not get confused with purple color:</p>
<p><a href="https://i.sstatic.net/12wRP.png" rel="noreferrer"><img src="https://i.sstatic.net/12wRP.png" alt="Crude spectrum diagram, own work" /></a></p>
<p>However, we aren't looking at just the color - each element such as hydrogen, oxygen etc. will cause <a href="https://en.wikipedia.org/wiki/Spectral_line" rel="noreferrer">spectral lines</a> in the result. With multiple layers, we can still identify the elements, but may not have good information on which layer they are in.</p>
<p><a href="https://exoplanets.nasa.gov/resources/2312/spectroscopy-detection-of-biosignatures/" rel="noreferrer">This NASA presentation</a> has a good explanation of spectroscopy on exoplanets.</p>

CC BY-SA 4.0
2023-09-18T05:37:37.353Z
@Constantthin It depends a lot on the distance. For planets in our solar system, there are many available methods. For exoplanets, we do it by observing the change in star's spectrum when the planet passes by.
jpa
CC BY-SA 4.0
2023-09-17T14:39:47.913Z
2023-09-18T06:11:41.313Z
2023-09-18T06:11:41.313Z
jpa
<p>You cannot estimate the detailed composition of a planetary atmosphere <em>just</em> by taking a spectrum, though you can get indications of what species it contains. The detailed composition only comes from a complete modelling of the radiative processes and physical structure of the atmosphere.</p>
<p>Planets reflect visible light, they don't intrinsically emit (much) visible light.</p>
<p>In both cases, the answer is the same. What we observe, at any particular wavelength, is light travelling from the deepest layer from which it can escape without being absorbed.</p>
<p>The spectrum of a planet is therefore constructed of light coming from a variety of depths in the atmosphere. Wavelengths that are strongly absorbed will emerge from higher in the planetary atmosphere.</p>
<p>The composition of a planetary atmosphere is reconstructed via a detailed modelling of these radiative processes, combined with a physical model of the planet's atmosphere (density, temperature and composition with height, possibly including dust and clouds). The details of the composition and atmospheric structure are altered until the predicted emergent spectrum matches what is observed. This is how it is &quot;normally done&quot; (for planets in the Solar System).</p>
<p>Your hypothetical scenario requires a layer that reflects red light, but which is transparent to blue light, to overlie a layer that reflects blue light but is transparent (or absorbs) red light.</p>

CC BY-SA 4.0
2023-09-17T09:50:44.660Z
Can a spectrometric reading of a planets composition only be done when it is in transit across a sun? Like when Uranus passes across the sun's surface?
Constantthin
CC BY-SA 4.0
2023-09-17T10:04:36.233Z
@Constantthin composition varies by depth - light seen during a transit will pass through many heights and many compositions. In my humble opinion you can't do this without a *modeling* the composition and its variation with height, and then simulating all kinds of measurements (like those you describe) and varying the composition vs. height model until it fits all the data. An example of that kind of thing might be a [CT scan](https://en.wikipedia.org/wiki/CT_scan) or [computed tomography](https://en.wikipedia.org/wiki/Industrial_computed_tomography)
uhoh
CC BY-SA 4.0
2023-09-17T10:32:11.437Z
@uhoh. How is it normally done then, please. I am afraid I don’t understand Prof Rob’s explanation.
Constantthin
CC BY-SA 4.0
2023-09-17T11:32:00.093Z
@Constantthin it's a good question - *the topic is not easy!* In short, the answer to "How can spectrometry know if it is looking at one single purple layer or two layers, a blue an a red, one above the other?" is "You can't, at least not directly." You need to find out what "modeling" means in this case. What I would do is leave this question as-is for now, and think about a new question, something like "How can atmospheric composition be measured as a function of depth - simple explanation and example for beginners?" In the question you can say "choose a solar system planet or an exoplanet".
uhoh
CC BY-SA 4.0
2023-09-17T07:22:55.540Z
2023-09-17T10:53:28.353Z
2023-09-17T10:53:28.353Z
ProfRob
<p>We will see it as two different peak wavelengths, since it will be split by the diffraction grating/prism. For example, a transit spectroscopy, if the planet has two distinct atmospheric layers, made of different composition and density, the red and blue light scattered by the atmosphere, will appear as purple to the human eye as it is just red light and blue light coming in the light cones/photoreceptors of the human eye, however a spectrometer and a diffraction grating will not fuse it together. It will perceive it as a blend of both the wavelengths, the peak wavelengths, blue and red will split, it will appear as a smooth wavelength, except with 2 peaks at the blue and red part of the electromagnetic spectrum rather than violet.</p>
<p><a href="https://i.sstatic.net/4HaL8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4HaL8.png" alt="enter image description here" /></a></p>
<p>Thank you, Hope it helps you!</p>

CC BY-SA 4.0
2023-09-18T07:05:11.240Z
2023-09-18T07:05:11.240Z
Arjun
<p>We all now that green is a mixture of blue and yellow, and that purple is a mixture of red and blue. In astronomical  spectroscopy the chemical composition of a planet’s atmosphere is determined, by the planets light reflection. My question is: “In an atmosphere with two major layers, one reflecting for example blue and the other red light. How can spectroscopy know if it is looking at one single  purple layer or two layers, a blue an a red, one above the other?</p>

CC BY-SA 4.0
2023-09-18T10:46:51.767Z
Evaluate this internet statement: "Spectroscopy doesn't generate any results, it's simply the theoretical approach to science".  https://www.atascientific.com.au/spectrometry/#:~:text=Spectroscopy%20is%20the%20science%20of,the%20theoretical%20approach%20to%20science.
Constantthin
CC BY-SA 4.0
2023-09-18T12:49:37.010Z
That statement makes little sense, especially in a document that talks about many experimental applications of spectroscopy. In common astronomical usage these days, the observations of spectra are called "spectroscopy", while the instrument used is called a "spectrometer". Go figure.
John Doty
CC BY-SA 4.0
2023-09-18T13:37:34.623Z
Homework question. What research have you done yourself?
AtmosphericPrisonEscape
CC BY-SA 4.0
2023-09-18T19:45:00.550Z
_"We all now that green is a mixture of blue and yellow"_ — no it's not. Only a particular, relatively pale subset of green colors can be represented as a mixture of blue and yellow. And e.g. 532nm laser light contains neither blue nor yellow.
Ruslan
CC BY-SA 4.0
2023-09-19T16:50:40.000Z
Only moderately helpful: https://xkcd.com/2828/
planetmaker
<observational-astronomy><spectroscopy>
How accurate is astronomical spectroscopy?
Constantthin
# How accurate is astronomical spectroscopy?

(Asked by: username_0 on 2023-09-17)

We all now that green is a mixture of blue and yellow, and that purple is a mixture of red and blue. In astronomical spectroscopy the chemical composition of a planet’s atmosphere is determined, by the planets light reflection. My question is: “In an atmosphere with two major layers, one reflecting for example blue and the other red light. How can spectroscopy know if it is looking at one single purple layer or two layers, a blue an a red, one above the other?

**Tags:** observational-astronomy, spectroscopy
> **Comments:**
> **username_0**: Evaluate this internet statement: "Spectroscopy doesn't generate any results, it's simply the theoretical approach to science".  https://www.atascientific.com.au/spectrometry/#:~:text=Spectroscopy%20is%20the%20science%20of,the%20theoretical%20approach%20to%20science.  
> **username_1**: That statement makes little sense, especially in a document that talks about many experimental applications of spectroscopy. In common astronomical usage these days, the observations of spectra are called "spectroscopy", while the instrument used is called a "spectrometer". Go figure.  
> **username_2**: Homework question. What research have you done yourself?  
> **username_3**: _"We all now that green is a mixture of blue and yellow"_ — no it's not. Only a particular, relatively pale subset of green colors can be represented as a mixture of blue and yellow. And e.g. 532nm laser light contains neither blue nor yellow.  
> **username_4**: Only moderately helpful: https://xkcd.com/2828/  

---

## 3 answers

### Answer by username_5 on 2023-09-17. Score: 13

> We all know that green is a mixture of blue and yellow, and that purple is a mixture of red and blue.

Only humans (and other animals with human-like color perception) know that.

For a spectrometer a mixture of red and blue light will look exactly like that, a mixture. It will not get confused with purple color:

[![Crude spectrum diagram, own work](https://i.sstatic.net/12wRP.png)](https://i.sstatic.net/12wRP.png)

However, we aren't looking at just the color - each element such as hydrogen, oxygen etc. will cause [spectral lines](https://en.wikipedia.org/wiki/Spectral_line) in the result. With multiple layers, we can still identify the elements, but may not have good information on which layer they are in.

[This NASA presentation](https://exoplanets.nasa.gov/resources/2312/spectroscopy-detection-of-biosignatures/) has a good explanation of spectroscopy on exoplanets.

> **Comments:**
> **username_5**: @Constantthin It depends a lot on the distance. For planets in our solar system, there are many available methods. For exoplanets, we do it by observing the change in star's spectrum when the planet passes by.  

---

### Answer by username_6 on 2023-09-17. Score: 7

You cannot estimate the detailed composition of a planetary atmosphere *just* by taking a spectrum, though you can get indications of what species it contains. The detailed composition only comes from a complete modelling of the radiative processes and physical structure of the atmosphere.

Planets reflect visible light, they don't intrinsically emit (much) visible light.

In both cases, the answer is the same. What we observe, at any particular wavelength, is light travelling from the deepest layer from which it can escape without being absorbed.

The spectrum of a planet is therefore constructed of light coming from a variety of depths in the atmosphere. Wavelengths that are strongly absorbed will emerge from higher in the planetary atmosphere.

The composition of a planetary atmosphere is reconstructed via a detailed modelling of these radiative processes, combined with a physical model of the planet's atmosphere (density, temperature and composition with height, possibly including dust and clouds). The details of the composition and atmospheric structure are altered until the predicted emergent spectrum matches what is observed. This is how it is "normally done" (for planets in the Solar System).

Your hypothetical scenario requires a layer that reflects red light, but which is transparent to blue light, to overlie a layer that reflects blue light but is transparent (or absorbs) red light.

> **Comments:**
> **username_0**: Can a spectrometric reading of a planets composition only be done when it is in transit across a sun? Like when Uranus passes across the sun's surface?  
> **username_7**: @Constantthin composition varies by depth - light seen during a transit will pass through many heights and many compositions. In my humble opinion you can't do this without a *modeling* the composition and its variation with height, and then simulating all kinds of measurements (like those you describe) and varying the composition vs. height model until it fits all the data. An example of that kind of thing might be a [CT scan](https://en.wikipedia.org/wiki/CT_scan) or [computed tomography](https://en.wikipedia.org/wiki/Industrial_computed_tomography)  
> **username_0**: @uhoh. How is it normally done then, please. I am afraid I don’t understand Prof Rob’s explanation.  
> **username_7**: @Constantthin it's a good question - *the topic is not easy!* In short, the answer to "How can spectrometry know if it is looking at one single purple layer or two layers, a blue an a red, one above the other?" is "You can't, at least not directly." You need to find out what "modeling" means in this case. What I would do is leave this question as-is for now, and think about a new question, something like "How can atmospheric composition be measured as a function of depth - simple explanation and example for beginners?" In the question you can say "choose a solar system planet or an exoplanet".  

---

### Answer by username_8 on 2023-09-18. Score: 1

We will see it as two different peak wavelengths, since it will be split by the diffraction grating/prism. For example, a transit spectroscopy, if the planet has two distinct atmospheric layers, made of different composition and density, the red and blue light scattered by the atmosphere, will appear as purple to the human eye as it is just red light and blue light coming in the light cones/photoreceptors of the human eye, however a spectrometer and a diffraction grating will not fuse it together. It will perceive it as a blend of both the wavelengths, the peak wavelengths, blue and red will split, it will appear as a smooth wavelength, except with 2 peaks at the blue and red part of the electromagnetic spectrum rather than violet.

[![enter image description here](https://i.sstatic.net/4HaL8.png)](https://i.sstatic.net/4HaL8.png)

Thank you, Hope it helps you!


---

