PMagnet11 module

class PMagnet11(machine=None)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SMagnet.PMagnet11.Gen_PMagnet11.Gen_PMagnet11, PySide2.QtWidgets.QDialog

Page to set the Magnet Type 11

saveNeeded = <PySide2.QtCore.Signal object>
mag_name = 'Polar'
mag_type

alias of pyleecan.Classes.MagnetType11.MagnetType11

slot_type

alias of pyleecan.Classes.SlotMPolar.SlotMPolar

set_H0()[source]

Signal to update the value of H0 according to the line edit

Parameters

self (PMagnet11) – A PMagnet11 object

set_Wmag()[source]

Signal to update the value of Wmag according to the line edit

Parameters

self (PMagnet11) – A PMagnet11 object

set_Hmag()[source]

Signal to update the value of Hmag according to the line edit

Parameters

self (PMagnet11) – A PMagnet11 object

check()[source]

Check that the current machine have all the needed field set

Parameters

self (PMagnet11) – A PMagnet11 object

Returns

error – Error message (return None if no error)

Return type

str

comp_output()[source]

Compute and display the magnet output

Parameters

self (PMagnet11) – A PMagnet11 object

staticMetaObject = <PySide2.QtCore.QMetaObject object>