<p>You can't &quot;unshift&quot; images in the way you suggest because they often/usually do not contain objects that all have the same redshift.</p>
<p>If they did, then you probably could, since all wavelengths would be divided by the same <span class="math-container">$(1+z)$</span> factor. It is doubtful this would result in visually pleasing or useful results since some of the JWST images would necessarily still lie outside our visual wavelength range. This is because the full span of wavelength sensitivity of the JWST cameras cover about a factor of 10 (for <a href="https://webb.nasa.gov/content/observatory/instruments/nircam.html" rel="noreferrer">NIRCAM</a> 0.6-5 <span class="math-container">$\mu$</span>m) and 6 (for <a href="https://webb.nasa.gov/content/observatory/instruments/miri.html" rel="noreferrer">MIRI</a> 5-28 <span class="math-container">$\mu$</span>m) in wavelength, whereas the human eye has only a factor of 2 range. It is possible, for example in MIRI images of objects with relatively low redshift (<span class="math-container">$z&lt;7$</span>), that <em>none</em> of the &quot;unshifted&quot; data would lie in the visible wavelength range.</p>

CC BY-SA 4.0
2024-02-24T11:33:45.273Z
I’m not sure “visually pleasing” is a convincing standard to people who question the value of false-colour images. If the process already sounds arbitrary to them, aesthetics seem unlikely to justify it. It should be noted that often specific colours in the resulting images are chosen to represent the presence of important elements which emit in the corresponding parts of the IR spectrum, allowing easy visual inspection of the distribution of different types of matter.
Seb
CC BY-SA 4.0
2024-02-24T09:52:42.650Z
2024-02-24T12:19:37.153Z
2024-02-24T12:19:37.153Z
ProfRob
<p>I know this doesn't answer your question, but I thought I would mention it since it's mildly relevant.</p>
<p>Here is a far ultraviolet (139.4 nm) image of the Sun that has been shifted into the human visible color range in a similar way that you proposed in your question.</p>
<p><a href="https://i.sstatic.net/y2DrZ.png" rel="noreferrer"><img src="https://i.sstatic.net/y2DrZ.png" alt="false-color solar image" /></a></p>
<p>This image was originally a three-dimensional cube (x, y, and wavelength) that was captured by the <a href="https://iris.lmsal.com/" rel="noreferrer">Interface Region Imaging Spectrograph</a> (IRIS), which is NASA satellite that has been continuously observing the Sun since 2013. To create the colors, I shifted and stretched the wavelengths into the visible spectrum, and then mapped to RGB using the <a href="https://en.wikipedia.org/wiki/CIE_1931_color_space" rel="noreferrer">CIE 1931 color space</a>.</p>
<p>I don't have any experience with using Webb observations, but I think you could do a similar exercise with the <a href="https://en.wikipedia.org/wiki/NIRSpec" rel="noreferrer">NIRspec</a> spectrograph on JWST (at least in principle, although it might not be very visually-pleasing).</p>
<p>If anyone is interested in creating your own false-color images, I've published my code as a Python package called <a href="https://colorsynth.readthedocs.io/en/latest/" rel="noreferrer">colorsynth</a>.</p>

CC BY-SA 4.0
2024-02-25T14:21:50.763Z
This is much closer to what I'd ask this question for. +1
Noone AtAll
CC BY-SA 4.0
2024-02-26T14:36:46.193Z
I don't understand the colorbar. Why are the units "km/s"?
WaterMolecule
CC BY-SA 4.0
2024-02-26T17:52:18.163Z
This is really cool @RoySmart! Thanks for taking the time to show a visual representation
lumenhippo
CC BY-SA 4.0
2024-02-27T02:06:33.193Z
@WaterMolecule, good question, I should've explained that. The units are in km/s since that corresponds to the [Doppler shift](https://en.wikipedia.org/wiki/Doppler_effect) of the spectral line (Si IV 139.4 m) being observed by IRIS. Astronomers sometimes express wavelength in Doppler shift for convenience since it makes it easier to interpret.
Roy Smart
CC BY-SA 4.0
2024-02-24T03:12:26.863Z
2024-02-24T03:17:32.987Z
2024-02-24T03:17:32.987Z
Roy Smart
<blockquote>
<p>The thing I don’t understand though is why we wouldn’t just take the IR data and ‘unshift’ the light since we know the distance of the objects we are observing? Is the process described above in some convoluted way equivalent to this idea of unshifting the colors?</p>
</blockquote>
<p>I think this is a great question, but some readers may not understand it.</p>
<p>Suppose we have a series of images of the same object taken through several different fairly narrow band (say 10%) filters. Each image is named after the central wavelength of its filter.</p>
<p>Then suppose through spectroscopic data the redshift <span class="math-container">$z$</span> is determined.</p>
<p>We can &quot;re-name&quot; each image with a new central wavelength that would be red-shifted by <span class="math-container">$z$</span> to the old one.</p>
<p>Those won't necessarily be red/green/blue, say 650, 550, 450 nm, nor will they be good approximations to the <a href="https://en.wikipedia.org/wiki/Spectral_sensitivity" rel="nofollow noreferrer">spectral sensitivity</a> of our eye, and depending on the data, they may often no longer represent visible wavelengths at all.</p>
<p><strong>In rare cases</strong> it might be possible that there are combinations of images and red shifts where two or potentially three visible colors can be recovered, and some semblance of a roughly realistic rendering could be reconstructed.</p>
<p><strong>But it would probably be very boring to look at!</strong></p>
<p>Aa <a href="https://astronomy.stackexchange.com/questions/56007/why-dont-we-just-unshift-the-ir-photos-from-webb#comment128636_56008">@JohnDoty points out</a>:</p>
<blockquote>
<p>JWST covers over five octaves of spectrum, while the visible spectrum is less than an octave. So, even after any shift you might apply, most of the information in the data would be invisible to human eyes.</p>
</blockquote>
<p>Images taken through many filters from many telescopes are available online. The ones from JWST may not be immediately available after they are taken for us to play with, but until then, there are plenty of multi-filter image sets from Hubble one can use to practice de-shifting.</p>
<p>You can just try this yourself, and if you need help, just as a new &quot;how to de-shift multi-filter images&quot; question. I predict that the answer will be boring-looking and not so informative, but give it a try!</p>

CC BY-SA 4.0
2024-02-24T08:24:06.757Z
"won't necessarily be red/green/blue"... and /that/ is the real problem. While the casual tinkerer might assume that he could map one of the JWST filter passbands to purple, one then has to ask "what wavelength is purple?" and then when one realises what a messy question /that/ is one has to ask "what RGB mix will approximate purple best for publication when perceived by the widest segment of potential readers?".
Mark Morgan Lloyd
CC BY-SA 4.0
2024-02-24T08:53:18.997Z
@MarkMorganLloyd Nobody said color was simple!. https://onlinelibrary.wiley.com/doi/book/10.1002/9781119367314 But that won't stop people from playing around with it.
uhoh
CC BY-SA 4.0
2024-02-24T09:20:32.957Z
Unfortunately, despite the ready availability of things like the AS7341 sensor (11 bands, not just RGB) a lot of people assume that all they have to do is connect a camera to "AI de jour" and all their problems are solved.
Mark Morgan Lloyd
CC BY-SA 4.0
2024-02-24T01:39:13.773Z
2024-02-24T01:39:13.773Z
uhoh
<blockquote>
<p>The thing I don’t understand though is why we wouldn’t just take the IR data and ‘unshift’ the light</p>
</blockquote>
<p>That is presumes a bit:</p>
<ol>
<li><p>The interesting emissions of the observed object(s) are in visible light in the object's frame of reference.</p>
<p>No, a lot of interesting light is invisible to naked eye even before redshift affected it, so &quot;unshifting&quot; won't make it visible.</p>
<p>What we consider &quot;visible&quot; light spectrum is an evolutionary adaptation of species on Earth to the light of our Sun, within the confines of the biochemistry available to us. In the Universe, &quot;visible&quot; light does not hold such special status. Due to how our technology evolved, it is particularly easy for us to capture visible light images, but that, again, is a confluence of our biological and technological evolutionary path.</p>
</li>
<li><p>That all the objects in the field of view have same redshift (or even known redshift).</p>
<p>This is not generally true and varies a lot with what is observed, how wide is the field of view, and so on. It also assumes that the redshift of everything in the image is known. Knowing the redshift requires taking spectra, and we don't have redshift data for every little thing in every field of view of JWST or Hubble. I'd imagine that an average JWST field of view has a lot of pixels with either unknown redshift, or potentially with multiple light sources (nearer and farther away) contributing to the pixel's &quot;color&quot;. So for some pixels there is no single redshift to apply. Take for example a foreground nebula with background stars and galaxies.</p>
</li>
<li><p>That the human perception of the images is an important factor in the analysis.</p>
<p>Ultimately, no deep analysis is done on the visible light visualizations of infrared or UV data. The data is operated on in its original form, without regard for how a human might see it. The pretty pictures synthesized in visible light are helpful, and provide qualitative information to astronomers and to the public. But that's about it. Their interpretation does not depend on any particular visible light translation.</p>
</li>
</ol>

CC BY-SA 4.0
2024-02-26T04:31:48.237Z
2024-02-26T04:31:48.237Z
Kuba hasn't forgotten Monica
<p>Sensors like CCDs in telescopes or the CMOS sensor used in most commercial photography like in your phone do not record wavelengths, they record the intensity of photons striking a pixel of the sensor and use filters to limit the light to certain wavelengths.  For example in the CMOS in your phone's camera, each pixel is basically 3 separate sensors recording the intensity of light reaching the sensor past their red, green, and blue filters.</p>
<p>The Hubble can use red, green, and blue filters to take three separate images <a href="https://stephenwilkins.co.uk/HubbleLegacy/colouring.html" rel="nofollow noreferrer">making an image</a> that would resemble closely what we would see with our eyes.</p>
<p>James Webb's two main imaging sensors have <a href="https://jwst-docs.stsci.edu/jwst-near-infrared-camera/nircam-instrumentation/nircam-filters" rel="nofollow noreferrer">29 filters for NIRCam</a> and <a href="https://jwst-docs.stsci.edu/jwst-mid-infrared-instrument/miri-instrumentation/miri-filters-and-dispersers" rel="nofollow noreferrer">10 filters for MIRI</a>.  For each recorded image we know the intensity of photons that made it past the filter being used, but to make a true color image they would need precise filters created for a specific redshift.  When processing images they can try to match those filters as closely as possible to red, green, and blue accounting for red-shift such as with the <a href="https://webbtelescope.org/contents/media/images/2022/035/01G7DCWB7137MYJ05CSH1Q5Z1Z" rel="nofollow noreferrer">first deep field</a>, but even in that you can see that further galaxies are more red because they all don't have the same redshift.  Other times as with <a href="https://www.nasa.gov/missions/webb/nasas-webb-discovers-new-feature-in-jupiters-atmosphere/" rel="nofollow noreferrer">an image of Jupiter</a> it may make sense to convert certain frequencies to red, green, and blue to allow our human eyes and minds to make sense of interesting features that our eyes wouldn't see.</p>
<p>You can <a href="https://astroexploring.com/blog/how-to-download-raw-data-from-the-james-webb-space-telescope-in-windows/" rel="nofollow noreferrer">explore</a> <a href="https://mast.stsci.edu/portal/Mashup/Clients/Mast/Portal.html" rel="nofollow noreferrer">the data</a> yourself and process it however you want to just analyze it or create your own images.</p>
<p><a href="https://webbtelescope.org/contents/articles/how-are-webbs-full-color-images-made" rel="nofollow noreferrer">More on color processing</a></p>

CC BY-SA 4.0
2024-02-26T21:20:38.477Z
2024-02-26T21:20:38.477Z
Jason Goemaat
<p>The infrared data cannot be unshifted to produce visually pleasing images simply by linearly scaling observed wavelengths because JWST does not work like the human eye nor like the camera in your phone. One important difference is that the range of wavelengths JWST covers is over five times larger than the spectrum humans can see, as John Doty <a href="https://astronomy.stackexchange.com/questions/56007/why-dont-we-just-unshift-the-ir-photos-from-webb#comment128636_56008">commented</a>. If you just adjusted for redshift, most of the &quot;colors&quot; would remain invisible to you.</p>
<p>The <a href="https://webbtelescope.org/contents/articles/how-are-webbs-full-color-images-made" rel="nofollow noreferrer">article</a> linked in the question outlines how JWST's <a href="https://webbtelescope.org/news/webb-science-writers-guide/webbs-scientific-instruments" rel="nofollow noreferrer">instruments</a> do not record colors but total electromagnetic radiation intensity in a particular band. They use a variety of filters that each pass specific wavelengths optimized to detect specific elements or molecules such as hydrogen, water, or methane.</p>
<p>When several filtered captures are available, <a href="https://en.wikipedia.org/wiki/False_color" rel="nofollow noreferrer">false-color</a> images can be created by combining these separate monochrome images. This is a very helpful visualization technique, but the results are different from what is produced by a digital camera that is optimized for reproducing images similar to what is seen by the human eye.</p>
<p>It is also noteworthy that colors are not physical attributes but names we use to describe the visual perception of light. People distinguish colors differently because the response of human cone cells to a particular wavelength varies between individuals.</p>
<p>See <a href="https://en.wikipedia.org/wiki/Monochrome-astrophotography-techniques" rel="nofollow noreferrer">Monochrome astrophotography techniques</a>, <a href="https://en.wikipedia.org/wiki/Color_vision" rel="nofollow noreferrer">Color vision</a> and <a href="https://en.wikipedia.org/wiki/Color" rel="nofollow noreferrer">Color</a> at Wikipedia.</p>

CC BY-SA 4.0
2024-02-23T21:18:38.043Z
JWST covers over five octaves of spectrum, while the visible spectrum is less than an octave. So, even after any shift you might apply, most of the information in the data would be invisible to human eyes.
John Doty
CC BY-SA 4.0
2024-02-24T06:27:25.157Z
@JohnDoty this could be a good answer itself
fraxinus
CC BY-SA 4.0
2024-02-24T14:12:34.290Z
Excellent answer.  Not only would it be inaccurate to map it back to visible by sliding and shrinking the scale of wavelengths, it would also be unhelpful.  The shortest emitted wavelengths that JWST can see (for the most distant object yet observed,  z = 13.2) are ~40nm ultraviolet.  That short UV (almost x-ray) light interacts with matter very differently as compared to the longest wavelength light that JWST can observe from the same object, ~2000nm infrared when it was emitted.  Pretending that one is truly blue and the other truly red would give us a distorted mental image.
Jason Patterson
CC BY-SA 4.0
2024-02-24T21:30:46.383Z
"Different individuals perceive various wavelengths and thus colors differently." Perceive is a complex word here, with some meanings more appropriate on philosophy.stackexchange than here. There exist color-blind people, and people with mutated cones who see more different colors. But the usefulness of color photography and especially digital photography and displays shows that most people map wavelengths to RGB colors in a consistent way, so a digital photo of an object stored with three samples per pixel matches what that object looks like in real life to most people.
prosfilaes
CC BY-SA 4.0
2024-02-26T17:48:35.960Z
@doubleunary,@JohnDoty thanks for your response! I can finally stop thinking about this :P
lumenhippo
CC BY-SA 4.0
2024-02-26T20:01:13.337Z
I wouldn't say "because JWST does not work like the camera in your phone" because your phone doesn't work that way either.  When you record an image you get the intensity, not the wavelength.   To simulate wavelength you use filters.   Each pixel for an image in your phone is really 3 buckets with red, green, and blue filters recording the intensity of each.
Jason Goemaat
CC BY-SA 4.0
2024-02-26T20:12:18.157Z
@JasonGoemaat fair enough. Edited the answer.
doubleunary
CC BY-SA 4.0
2024-02-27T20:32:28.270Z
@JohnDoty You could still "squeeze" it to the visible spectrum, either linearly or not (whichever would give a more pleasing result).
ispiro
CC BY-SA 4.0
2024-02-23T20:35:13.150Z
2024-02-26T20:11:38.260Z
2024-02-26T20:11:38.260Z
doubleunary
<p>I’ve been going back and forth with peers on why image processing is done the way it is on the Webb Telescope. Based off some <a href="https://webbtelescope.org/contents/articles/how-are-webbs-full-color-images-made#:%7E:text=They%20can%20either%20layer%20the,the%20colors%20are%20knitted%20together" rel="noreferrer">article</a>, my understanding is that they have various filters that represent different IR bands, these are then assigned visible spectrum colors based on the wavelength of the IR filter, and finally you have some weighting scheme that combines these assigned colors to form a picture.</p>
<p>The thing I don’t understand though is why we wouldn’t just take the IR data and ‘unshift’ the light since we know the distance of the objects we are observing? Is the process described above in some convoluted way equivalent to this idea of unshifting the colors?</p>

CC BY-SA 4.0
2024-02-23T17:29:06.793Z
I think there is a misunderstanding here that objects emit at visible wavelengths and we only observe them in IR because of redshift? In reality, emission in the rest frame of the object can be in parts of the spectrum outside visible light.
lucas
CC BY-SA 4.0
2024-02-26T18:10:30.957Z
@lucas yes, that is a misunderstanding on my part thanks for pointing it out. Using the scheme I described, one would not be able to know whether the IR from the object is due to the object's natural properties or redshift. However, if you assume the object doesn't naturally emit IR and exclusively has IR due to redshift, the question still holds.
lumenhippo
<astrophysics><james-webb-space-telescope><image-processing>
Why don't we just unshift the IR photos from Webb?
lumenhippo
# Why don't we just unshift the IR photos from Webb?

(Asked by: username_0 on 2024-02-23)

I’ve been going back and forth with peers on why image processing is done the way it is on the Webb Telescope. Based off some [article](https://webbtelescope.org/contents/articles/how-are-webbs-full-color-images-made#:%7E:text=They%20can%20either%20layer%20the,the%20colors%20are%20knitted%20together), my understanding is that they have various filters that represent different IR bands, these are then assigned visible spectrum colors based on the wavelength of the IR filter, and finally you have some weighting scheme that combines these assigned colors to form a picture.

The thing I don’t understand though is why we wouldn’t just take the IR data and ‘unshift’ the light since we know the distance of the objects we are observing? Is the process described above in some convoluted way equivalent to this idea of unshifting the colors?

**Tags:** astrophysics, james-webb-space-telescope, image-processing
> **Comments:**
> **username_1**: I think there is a misunderstanding here that objects emit at visible wavelengths and we only observe them in IR because of redshift? In reality, emission in the rest frame of the object can be in parts of the spectrum outside visible light.  
> **username_0**: @lucas yes, that is a misunderstanding on my part thanks for pointing it out. Using the scheme I described, one would not be able to know whether the IR from the object is due to the object's natural properties or redshift. However, if you assume the object doesn't naturally emit IR and exclusively has IR due to redshift, the question still holds.  

---

## 6 answers

### Answer by username_11 on 2024-02-23. Score: 26 | Accepted answer

The infrared data cannot be unshifted to produce visually pleasing images simply by linearly scaling observed wavelengths because JWST does not work like the human eye nor like the camera in your phone. One important difference is that the range of wavelengths JWST covers is over five times larger than the spectrum humans can see, as John Doty [commented](https://astronomy.stackexchange.com/questions/56007/why-dont-we-just-unshift-the-ir-photos-from-webb#comment128636_56008). If you just adjusted for redshift, most of the "colors" would remain invisible to you.

The [article](https://webbtelescope.org/contents/articles/how-are-webbs-full-color-images-made) linked in the question outlines how JWST's [instruments](https://webbtelescope.org/news/webb-science-writers-guide/webbs-scientific-instruments) do not record colors but total electromagnetic radiation intensity in a particular band. They use a variety of filters that each pass specific wavelengths optimized to detect specific elements or molecules such as hydrogen, water, or methane.

When several filtered captures are available, [false-color](https://en.wikipedia.org/wiki/False_color) images can be created by combining these separate monochrome images. This is a very helpful visualization technique, but the results are different from what is produced by a digital camera that is optimized for reproducing images similar to what is seen by the human eye.

It is also noteworthy that colors are not physical attributes but names we use to describe the visual perception of light. People distinguish colors differently because the response of human cone cells to a particular wavelength varies between individuals.

See [Monochrome astrophotography techniques](https://en.wikipedia.org/wiki/Monochrome-astrophotography-techniques), [Color vision](https://en.wikipedia.org/wiki/Color_vision) and [Color](https://en.wikipedia.org/wiki/Color) at Wikipedia.

> **Comments:**
> **username_12**: JWST covers over five octaves of spectrum, while the visible spectrum is less than an octave. So, even after any shift you might apply, most of the information in the data would be invisible to human eyes.  
> **username_13**: @JohnDoty this could be a good answer itself  
> **username_14**: Excellent answer.  Not only would it be inaccurate to map it back to visible by sliding and shrinking the scale of wavelengths, it would also be unhelpful.  The shortest emitted wavelengths that JWST can see (for the most distant object yet observed,  z = 13.2) are ~40nm ultraviolet.  That short UV (almost x-ray) light interacts with matter very differently as compared to the longest wavelength light that JWST can observe from the same object, ~2000nm infrared when it was emitted.  Pretending that one is truly blue and the other truly red would give us a distorted mental image.  
> **username_15**: "Different individuals perceive various wavelengths and thus colors differently." Perceive is a complex word here, with some meanings more appropriate on philosophy.stackexchange than here. There exist color-blind people, and people with mutated cones who see more different colors. But the usefulness of color photography and especially digital photography and displays shows that most people map wavelengths to RGB colors in a consistent way, so a digital photo of an object stored with three samples per pixel matches what that object looks like in real life to most people.  
> **username_0**: @doubleunary,@JohnDoty thanks for your response! I can finally stop thinking about this :P  
> **username_10**: I wouldn't say "because JWST does not work like the camera in your phone" because your phone doesn't work that way either.  When you record an image you get the intensity, not the wavelength.   To simulate wavelength you use filters.   Each pixel for an image in your phone is really 3 buckets with red, green, and blue filters recording the intensity of each.  
> **username_11**: @JasonGoemaat fair enough. Edited the answer.  
> **username_16**: @JohnDoty You could still "squeeze" it to the visible spectrum, either linearly or not (whichever would give a more pleasing result).  

---

### Answer by username_2 on 2024-02-24. Score: 10

You can't "unshift" images in the way you suggest because they often/usually do not contain objects that all have the same redshift.

If they did, then you probably could, since all wavelengths would be divided by the same $(1+z)$ factor. It is doubtful this would result in visually pleasing or useful results since some of the JWST images would necessarily still lie outside our visual wavelength range. This is because the full span of wavelength sensitivity of the JWST cameras cover about a factor of 10 (for [NIRCAM](https://webb.nasa.gov/content/observatory/instruments/nircam.html) 0.6-5 $\mu$m) and 6 (for [MIRI](https://webb.nasa.gov/content/observatory/instruments/miri.html) 5-28 $\mu$m) in wavelength, whereas the human eye has only a factor of 2 range. It is possible, for example in MIRI images of objects with relatively low redshift ($z<7$), that *none* of the "unshifted" data would lie in the visible wavelength range.

> **Comments:**
> **username_3**: I’m not sure “visually pleasing” is a convincing standard to people who question the value of false-colour images. If the process already sounds arbitrary to them, aesthetics seem unlikely to justify it. It should be noted that often specific colours in the resulting images are chosen to represent the presence of important elements which emit in the corresponding parts of the IR spectrum, allowing easy visual inspection of the distribution of different types of matter.  

---

### Answer by username_4 on 2024-02-24. Score: 9

I know this doesn't answer your question, but I thought I would mention it since it's mildly relevant.

Here is a far ultraviolet (139.4 nm) image of the Sun that has been shifted into the human visible color range in a similar way that you proposed in your question.

[![false-color solar image](https://i.sstatic.net/y2DrZ.png)](https://i.sstatic.net/y2DrZ.png)

This image was originally a three-dimensional cube (x, y, and wavelength) that was captured by the [Interface Region Imaging Spectrograph](https://iris.lmsal.com/) (IRIS), which is NASA satellite that has been continuously observing the Sun since 2013. To create the colors, I shifted and stretched the wavelengths into the visible spectrum, and then mapped to RGB using the [CIE 1931 color space](https://en.wikipedia.org/wiki/CIE_1931_color_space).

I don't have any experience with using Webb observations, but I think you could do a similar exercise with the [NIRspec](https://en.wikipedia.org/wiki/NIRSpec) spectrograph on JWST (at least in principle, although it might not be very visually-pleasing).

If anyone is interested in creating your own false-color images, I've published my code as a Python package called [colorsynth](https://colorsynth.readthedocs.io/en/latest/).

> **Comments:**
> **username_5**: This is much closer to what I'd ask this question for. +1  
> **username_6**: I don't understand the colorbar. Why are the units "km/s"?  
> **username_0**: This is really cool @RoySmart! Thanks for taking the time to show a visual representation  
> **username_4**: @WaterMolecule, good question, I should've explained that. The units are in km/s since that corresponds to the [Doppler shift](https://en.wikipedia.org/wiki/Doppler_effect) of the spectral line (Si IV 139.4 m) being observed by IRIS. Astronomers sometimes express wavelength in Doppler shift for convenience since it makes it easier to interpret.  

---

### Answer by username_7 on 2024-02-24. Score: 4

> The thing I don’t understand though is why we wouldn’t just take the IR data and ‘unshift’ the light since we know the distance of the objects we are observing? Is the process described above in some convoluted way equivalent to this idea of unshifting the colors?

I think this is a great question, but some readers may not understand it.

Suppose we have a series of images of the same object taken through several different fairly narrow band (say 10%) filters. Each image is named after the central wavelength of its filter.

Then suppose through spectroscopic data the redshift $z$ is determined.

We can "re-name" each image with a new central wavelength that would be red-shifted by $z$ to the old one.

Those won't necessarily be red/green/blue, say 650, 550, 450 nm, nor will they be good approximations to the [spectral sensitivity](https://en.wikipedia.org/wiki/Spectral_sensitivity) of our eye, and depending on the data, they may often no longer represent visible wavelengths at all.

**In rare cases** it might be possible that there are combinations of images and red shifts where two or potentially three visible colors can be recovered, and some semblance of a roughly realistic rendering could be reconstructed.

**But it would probably be very boring to look at!**

Aa [@JohnDoty points out](https://astronomy.stackexchange.com/questions/56007/why-dont-we-just-unshift-the-ir-photos-from-webb#comment128636_56008):

> JWST covers over five octaves of spectrum, while the visible spectrum is less than an octave. So, even after any shift you might apply, most of the information in the data would be invisible to human eyes.

Images taken through many filters from many telescopes are available online. The ones from JWST may not be immediately available after they are taken for us to play with, but until then, there are plenty of multi-filter image sets from Hubble one can use to practice de-shifting.

You can just try this yourself, and if you need help, just as a new "how to de-shift multi-filter images" question. I predict that the answer will be boring-looking and not so informative, but give it a try!

> **Comments:**
> **username_8**: "won't necessarily be red/green/blue"... and /that/ is the real problem. While the casual tinkerer might assume that he could map one of the JWST filter passbands to purple, one then has to ask "what wavelength is purple?" and then when one realises what a messy question /that/ is one has to ask "what RGB mix will approximate purple best for publication when perceived by the widest segment of potential readers?".  
> **username_7**: @MarkMorganLloyd Nobody said color was simple!. https://onlinelibrary.wiley.com/doi/book/10.1002/9781119367314 But that won't stop people from playing around with it.  
> **username_8**: Unfortunately, despite the ready availability of things like the AS7341 sensor (11 bands, not just RGB) a lot of people assume that all they have to do is connect a camera to "AI de jour" and all their problems are solved.  

---

### Answer by username_9 on 2024-02-26. Score: 2

> The thing I don’t understand though is why we wouldn’t just take the IR data and ‘unshift’ the light

That is presumes a bit:

1. The interesting emissions of the observed object(s) are in visible light in the object's frame of reference.

   No, a lot of interesting light is invisible to naked eye even before redshift affected it, so "unshifting" won't make it visible.

   What we consider "visible" light spectrum is an evolutionary adaptation of species on Earth to the light of our Sun, within the confines of the biochemistry available to us. In the Universe, "visible" light does not hold such special status. Due to how our technology evolved, it is particularly easy for us to capture visible light images, but that, again, is a confluence of our biological and technological evolutionary path.
2. That all the objects in the field of view have same redshift (or even known redshift).

   This is not generally true and varies a lot with what is observed, how wide is the field of view, and so on. It also assumes that the redshift of everything in the image is known. Knowing the redshift requires taking spectra, and we don't have redshift data for every little thing in every field of view of JWST or Hubble. I'd imagine that an average JWST field of view has a lot of pixels with either unknown redshift, or potentially with multiple light sources (nearer and farther away) contributing to the pixel's "color". So for some pixels there is no single redshift to apply. Take for example a foreground nebula with background stars and galaxies.
3. That the human perception of the images is an important factor in the analysis.

   Ultimately, no deep analysis is done on the visible light visualizations of infrared or UV data. The data is operated on in its original form, without regard for how a human might see it. The pretty pictures synthesized in visible light are helpful, and provide qualitative information to astronomers and to the public. But that's about it. Their interpretation does not depend on any particular visible light translation.


---

### Answer by username_10 on 2024-02-26. Score: 0

Sensors like CCDs in telescopes or the CMOS sensor used in most commercial photography like in your phone do not record wavelengths, they record the intensity of photons striking a pixel of the sensor and use filters to limit the light to certain wavelengths. For example in the CMOS in your phone's camera, each pixel is basically 3 separate sensors recording the intensity of light reaching the sensor past their red, green, and blue filters.

The Hubble can use red, green, and blue filters to take three separate images [making an image](https://stephenwilkins.co.uk/HubbleLegacy/colouring.html) that would resemble closely what we would see with our eyes.

James Webb's two main imaging sensors have [29 filters for NIRCam](https://jwst-docs.stsci.edu/jwst-near-infrared-camera/nircam-instrumentation/nircam-filters) and [10 filters for MIRI](https://jwst-docs.stsci.edu/jwst-mid-infrared-instrument/miri-instrumentation/miri-filters-and-dispersers). For each recorded image we know the intensity of photons that made it past the filter being used, but to make a true color image they would need precise filters created for a specific redshift. When processing images they can try to match those filters as closely as possible to red, green, and blue accounting for red-shift such as with the [first deep field](https://webbtelescope.org/contents/media/images/2022/035/01G7DCWB7137MYJ05CSH1Q5Z1Z), but even in that you can see that further galaxies are more red because they all don't have the same redshift. Other times as with [an image of Jupiter](https://www.nasa.gov/missions/webb/nasas-webb-discovers-new-feature-in-jupiters-atmosphere/) it may make sense to convert certain frequencies to red, green, and blue to allow our human eyes and minds to make sense of interesting features that our eyes wouldn't see.

You can [explore](https://astroexploring.com/blog/how-to-download-raw-data-from-the-james-webb-space-telescope-in-windows/) [the data](https://mast.stsci.edu/portal/Mashup/Clients/Mast/Portal.html) yourself and process it however you want to just analyze it or create your own images.

[More on color processing](https://webbtelescope.org/contents/articles/how-are-webbs-full-color-images-made)


---

