check_energy_consistent

marxs.base.check_energy_consistent(photons)[source]

Check if the energy is the same for all photons.

If there is no energy colum, then this also passes.