Research on the thermal failure mechanism of an opposed-contact gallium arsenide photoconductive semiconductor switch in avalanche mode