Source code for pyleecan.Methods.Slot.SlotM14.check
# -*- coding: utf-8 -*-
from numpy import pi
from ....Methods.Slot.Slot import SlotCheckError
[docs]def check(self):
"""Check that the SlotM11 object is correct
Parameters
----------
self : SlotM14
A SlotM14 object
Returns
-------
None
"""
if self.W0 < self.Wmag:
raise SlotCheckError("You must have Wmag <= W0")