Source code for pyleecan.Methods.Slot.SlotM17.comp_height

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

from numpy import cos


[docs]def comp_height(self): """Compute the height of the Slot. Caution, the bottom of the Slot is an Arc Parameters ---------- self : SlotM17 A SlotM17 object Returns ------- Htot: float Height of the slot [m] """ return self.parent.Rext - self.parent.Rint