sensing the energy of a crystal