Simulation of the combined effects of charge sharing and pulse pileup in photon-counting CT | Synapse