# 2D Galaxy Spectrum taken by long-slit-spectrograph

I have the 2D data (shape(1125,2058) taken by a long slit spectrograph, which looks as follows: The y-axis corresponds to the distance from the center, where the center is at the most bright green part (y_index about 595). The x-axis corresponds to the wavelengths. The data shows the long-slit-spectra of an elliptical galaxy. And here is where I am getting a bit confused, I expected the red end of the spectrum (i.e. longer wavelengths) to be more bright, since ellipticals have a red continuum, due to their old stellar population. In the plot, the spectrum is clearly more bright on the left, does that mean that the wavelength goes from right to left? Of course I also extracted the wavelength array from my fits file, if I include it into the plot, it runs from left to right. But I guess since my wavelength range does not extend into the red part of the spectrum only until yellow (570 nm) this resolves the problem? After some changes one can see the absortpion lines as well as the rotation of the galaxy.

• Your wavelength range is not very large, and in particular doesn't include the Balmer break and the 4000 Å break, so I'm not sure it's so surprising that it looks flat-ish. From ~4800 Å to a Mg line at ~5200 Å the spectrum actually typically does decline a little, but after that it should increase again, I think. But perhaps extract the 1D spectrum? I think that would make it easier to see.
– pela
Mar 21 at 12:24
• to my understanding the balmer break and the 4000 $\AA$ break in elliptical galaxies is roughly at the same wavelength right? the 1d spectrum from the center looks pretty much as expected for the wavelength range Mar 21 at 12:37
• Was just wondering why there is more blue light then yellow light in the central region. Mar 21 at 12:38
• Yes, the two breaks partially overlap (but evolve differently with age of the stellar population).
– pela
Mar 21 at 15:35
• And yes, I understand that you're puzzled as to why the spectrum seems to decrease toward longer wavelengths, and I agree that it should stay flat or increase somewhat. But if you look at other elliptical galaxy spectra, you'll see that it's not unusual to decrease in the first half of your range. It should then increase again, which is indeed puzzling, but see Peter Erwin's answer. And then perhaps try and extract the 1D spectrum which might be more easily interpreted.
– pela
Mar 21 at 17:24

You don't say how you are generating these displays, though I'm guessing it's via the Matplotlib library in Python. So, in case you're not already displaying the data with a logarithmic scaling, try that (i.e., display np.log10(data) instead of data. You could try other scalings as well (e.g., square root).