Optical determination of the characteristics of a pulsed-gas jet