check_energy_consistent

marxs.base.check_energy_consistent(photons)[source] [edit on github]

Check if the energy is the same for all photons.

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