Impact of defect distribution on IrOx/ZnO interface doping and Schottky barriers