Source code for pyleecan.Methods.Slot.HoleM52.get_height_magnet
# -*- coding: utf-8 -*-
[docs]def get_height_magnet(self):
"""get the height of the hole magnet
Parameters
----------
self : HoleM52
A HoleM52 object
Returns
-------
Hmag: float
height of the Magnet [m]
"""
Hmag = self.H1
return Hmag