PMagnet10 module

class PMagnet10(machine=None)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SMagnet.PMagnet10.Gen_PMagnet10.Gen_PMagnet10, PyQt5.QtWidgets.QDialog

Page to set the Magnet Type 10

saveNeeded
mag_name = 'Rectangular'
mag_type

alias of pyleecan.Classes.MagnetType10.MagnetType10

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