PMagnet13 module

class PMagnet13(machine=None)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SMagnet.PMagnet13.Gen_PMagnet13.Gen_PMagnet13, PyQt5.QtWidgets.QDialog

Page to set the Magnet Type 13

saveNeeded
mag_name = 'Flat bottom, curved top'
mag_type

alias of pyleecan.Classes.MagnetType13.MagnetType13

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 (PMagnet13) – A PMagnet13 object
set_Wmag()[source]

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

Parameters:self (PMagnet13) – A PMagnet13 object
set_Rtopm()[source]

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

Parameters:self (PMagnet13) – A PMagnet13 object
set_Hmag()[source]

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

Parameters:self (PMagnet13) – A PMagnet13 object
check()[source]

Check that the current machine have all the needed field set

Parameters:self (PMagnet13) – A PMagnet13 object
Returns:error – Error message (return None if no error)
Return type:str
comp_output()[source]

Compute and display the magnet output

Parameters:self (PMagnet13) – A PMagnet13 object