Source code for pyleecan.Methods.Machine.WindingUD.get_dim_wind
# -*- coding: utf-8 -*-
from ....Methods import NotImplementedYetError
[docs]def get_dim_wind(self):
"""Get the two first dimension of the winding matrix
Parameters
----------
self : WindingUD
A WindingUD object
Returns
-------
(Nrad, Ntan): tuple
Number of layer in radial and tangential direction
"""
return self.user_wind_mat.shape[0:2]