Source code for pyleecan.Methods.Slot.HoleM50.get_height_magnet

# -*- coding: utf-8 -*-


[docs]def get_height_magnet(self): """get the height of the hole magnets Parameters ---------- self : HoleM50 A HoleM50 object Returns ------- Hmag: float height of the 2 Magnets [m] """ # magnet_0 and magnet_1 have the same height Hmag = self.H3 return Hmag