Optical emission diagnostic of a pulsed arc discharge