magnet_calibration
magnet_calibration#
provides a graphic user interface which allows to calibrate the B-field vs. current of the electromagnet.
Input parameters are:
I_min: minimum of the measurement current (should be above -4 A)
I_max: maximum of the measurement current (should be below 4 A)
step: stepsize (in A) in the applied current I during the calibration measurement
loops: number of measurement loops
B_min: minimum of the plot range in mT
B_max: maximum of the plot range in mT
filename: name of the file in which the data is stored
Available buttons:
start: starts the measurement (always available)
pause: pauses the measurement (only available during the measurement)
select path: selects the directory where the data is saved (always available)
save data: saves the data (only available after a measurment is finished)
The program saves the data in the following format:
# I (A) Bup(mT) Bdown (mT)
-4.00 703.80 704.36
-3.90 697.09 696.50
-3.80 689.92 688.27
-3.70 682.31 679.57