Calibration of in situ magnetic susceptibility measurements