I was reading this paper for Near Infrared discovery The history of near infrared spectroscopic analysis:
In his experiment Herschel projected a rainbow on to a bench by the aid of a prism then he measured the relative heating effect of different parts of it (Fig. 1). As he moved from the blue to the red the heating effect increased.
I was confused because I know that red photon carries less energy than the blue one.
Is the increased heating effect from blue to red caused by the different photons speed in the prism material ? And so, after prism material, red photons are in greater amount than blue one and the total energy that is carried is greater than the blue photons ?
If it is so, how can I know how the material modifies photons velocity ? For example, in the air I imagine that this is not true any more since there are blue light glasses, also known as blue anti-light glasses or computer glasses, which have been created to decrease the amount of blue light.