Pošalji zapis e-poštom: A framework for performance characterization of energy‐resolving photon‐counting detectors