Source code for pyleecan.Methods.Machine.MachineSRM.get_pole_pair_number
# -*- coding: utf-8 -*-
[docs]def get_pole_pair_number(self):
"""Returns the number of pole pairs of the machine
Parameters
----------
self : MachineSRM
MachineSRM object
Returns
-------
p: int
Pole pair number of the machine
"""
return self.rotor.get_Zs()