coilSimulation_real module¶
Simulation of the magnetic field generated by a anti-helmholtz coil.
The coils are assumed to be squared packaged thin wires. Each turn is calculated individualy, that is why this simulation is substantily slower than the exact calculation. It is recomended that one do the exact simulation before the running this code.
It calculates the magnetic field in the z direction at x=0 and y=0. The coils normal vector points in the +z direction.
-
class
coilSimulation_real.
Window
¶ Bases:
PyQt5.QtWidgets.QMainWindow
Missing docstring.
-
createSlider
(variable, min, max, step, value, extra_text=None)¶ Fast slider creation.
It creates all the labels and a settings button for your slider.
-
openSliderWindow
(slider)¶ Open the slider settings window.
-
update
()¶ Missing docstring.
-
update_from_slider
(variable, slider, lineEdit)¶
-
update_from_text
(variable, lineEdit, slider)¶
-