Inhomogeneous resistivity and its effect on CdZnTe-based radiation detectors operating at high radiation fluxes