api for manual calibration