How does light filtration work? How exactly do certain types of glass filter out light within specific frequencies/wavelengths?
I'm wondering because I read somewhere that certain types of windows filter out certain parts of the electromagnetic spectrum. I've heard about polarization of light, but don't understand how this would apply here or even work in type of glass used in windows.
So in other words, I'm asking: what happens to the light waves as they pass through different types of glass, besides simply being refracted and reflected?
How can certain portions of the spectrum just be removed?
In case there are multiple methods/effects, please either elaborate or enumerate.
 A: Although glass is an amorphous material, it behaves surprisingly similar to crystalline materials in some respects. In this case, you can imagine glass to be a semiconductor with a large bandgap, at least large enough to be beyond the visible wavelengths. Therefore, all visible light passes through, which makes glass transparent. Obviously, there will be some wavelength (or photon energy), which is sufficiently short to excite electrons from occupied states (similar to the valence band in a semiconductor) to some excited states. Therefore, glass will absorb the short wavelength (high energy) part of the electromagnetic spectrum from a certain wavelength on.
Now this is only half the truth. There are also impurities, which create additional states, from where electrons can be excited. These will typically be at different energies and therefore can give some tint to the glass, if they are in the visible range.
The low energy tail, which is below the bandgap of the material, can for example be absorbed through the excitation of lattice vibrations, so called phonons, in the material. $ SiO_2 $ e.g. has phonon modes around 150 and 60 meV, which absorb some fraction of infrared light.
