Measurement of the temperature of a running thread-line