Source code for pyleecan.Methods.Machine.Lamination.get_polar_eq

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

from ....Methods import NotImplementedYetError


[docs]def get_polar_eq(self): """Returns a polar equivalent of the lamination Parameters ---------- self : Lamination Lamination object Returns ------- polar_eq: Lamination The polar equivalent of the lamination """ raise NotImplementedYetError("get_polar_eq available only for LamSlotWind for now")
# A lamination object is already polar (plain cylinder) # return type(self)(init_dict=self.as_dict())