Variable sampling rate as function of thermal displacement