PMagnet12 module¶
-
class
PMagnet12
(machine=None)[source]¶ Bases:
pyleecan.GUI.Dialog.DMachineSetup.SMagnet.PMagnet12.Gen_PMagnet12.Gen_PMagnet12
,PySide2.QtWidgets.QDialog
Page to set the Magnet Type 12
-
saveNeeded
= <PySide2.QtCore.Signal object>¶
-
mag_name
= 'Flat bottom, polar top'¶
-
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 (PMagnet12) – A PMagnet12 object
-
set_Wmag
()[source]¶ Signal to update the value of Wmag according to the line edit
- Parameters
self (PMagnet12) – A PMagnet12 object
-
set_Hmag
()[source]¶ Signal to update the value of Hmag according to the line edit
- Parameters
self (PMagnet12) – A PMagnet12 object
-
check
()[source]¶ Check that the current machine have all the needed field set
- Parameters
self (PMagnet12) – A PMagnet12 object
- Returns
error – Error message (return None if no error)
- Return type
str
-
comp_output
()[source]¶ Compute and display the magnet output
- Parameters
self (PMagnet12) – A PMagnet12 object
-
staticMetaObject
= <PySide2.QtCore.QMetaObject object>¶
-