Automatic linearity calibration in a resistance thermometry bridge