Thus, measuring how much gamma rays of different energies are attenuated or weakened from blazars at different distances from Earth indirectly gives a measurement of how many EBL photons of different wavelengths
exist along the line of sight from blazar to Earth over those different distances.