Source code for pyleecan.Methods.Slot.SlotM12.comp_angle_opening
# -*- coding: utf-8 -*-
from numpy import arcsin
[docs]def comp_angle_opening(self):
"""Compute the average opening angle of the Slot
Parameters
----------
self : SlotM12
A SlotM12 object
Returns
-------
alpha: float
Average opening angle of the slot [rad]
"""
Rbo = self.get_Rbo()
return float(2 * arcsin(self.W0 / (2 * Rbo)))