Measurement of the electric conductivity of tungsten in a continuous liquid-to-gas transition