another solution is to keep the per session data in a database an energy dispersive detector is used to record and measure these x rays