PMagnet14 module

class PMagnet14(machine=None)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SMagnet.PMagnet14.Gen_PMagnet14.Gen_PMagnet14, PyQt5.QtWidgets.QDialog

Page to set the Magnet Type 14

saveNeeded
mag_name = 'Polar bottom, curved top'
mag_type

alias of pyleecan.Classes.MagnetType14.MagnetType14

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

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

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

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

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

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

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

Check that the current machine have all the needed field set

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

Compute and display the magnet output

Parameters:self (PMagnet14) – A PMagnet14 object