Measurement of tube wall thickness