PMagnet10 module¶
-
class
PMagnet10
(machine=None)[source]¶ Bases:
pyleecan.GUI.Dialog.DMachineSetup.SMagnet.PMagnet10.Gen_PMagnet10.Gen_PMagnet10
,PySide2.QtWidgets.QDialog
Page to set the Magnet Type 10
-
saveNeeded
= <PySide2.QtCore.Signal object>¶
-
mag_name
= 'Rectangular'¶
-
mag_type
¶
-
slot_type
¶ alias of
pyleecan.Classes.SlotMFlat.SlotMFlat
-
set_H0
()[source]¶ Signal to update the value of H0 according to the line edit
- Parameters
self (PMagnet10) – A PMagnet10 object
-
set_Wmag
()[source]¶ Signal to update the value of Wmag according to the line edit
- Parameters
self (PMagnet10) – A PMagnet10 object
-
set_Hmag
()[source]¶ Signal to update the value of Hmag according to the line edit
- Parameters
self (PMagnet10) – A PMagnet10 object
-
check
()[source]¶ Check that the current machine have all the needed field set
- Parameters
self (PMagnet10) – A PMagnet10 object
- Returns
error – Error message (return None if no error)
- Return type
str
-
comp_output
()[source]¶ Compute and display the magnet output
- Parameters
self (PMagnet10) – A PMagnet10 object
-
staticMetaObject
= <PySide2.QtCore.QMetaObject object>¶
-