#27 save calibration results and offset to file