Source code for pyleecan.Methods.Slot.HoleM51.get_height_magnet
# -*- coding: utf-8 -*-
[docs]def get_height_magnet(self):
"""get the height of the hole magnets
Parameters
----------
self : HoleM51
A HoleM51 object
Returns
-------
Hmag: float
height of the 3 Magnets [m]
"""
# magnet_0 and magnet_1 and magnet_2 have the same height
Hmag = self.H2
return Hmag