Source code for pyleecan.Methods.Slot.Slot19.comp_angle_opening

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

from numpy import arcsin


[docs]def comp_angle_opening(self): """Compute the slot opening angle of the Slot Parameters ---------- self : Slot19 A Slot19 object Returns ------- alpha: float Average opening angle of the slot [rad] """ Rbo = self.get_Rbo() if self.Wx_is_rad: return self.W0 else: return float(2 * arcsin(self.W0 / (2 * Rbo)))