In situ calibration of rotating sensor coils for magnet testing