Calibration, base line adjustment, drift correction