Comparison of energy resolution spectra of CdTe TIMEPIX detector working in photon counting and time-over-threshold mode | IEEE Conference Publication | IEEE Xplore