Radiation pyrometry, e.g. infrared or optical thermometry using extension or expansion of solids or fluids