An edge-on energy-resolved X-ray semiconductor detector. (June 2021)