Magnetic field measurement techniques with heavy ion beam probes