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