pyleecan.Methods.Machine.Machine.get_lam_index module¶
- get_lam_index(self, label)[source]¶
Returns list index of the lamination with the given label corresponding to machine.get_lam_list(is_int_to_ext=True, key=None). For convenience label ‘Stator’ or ‘Rotor’ are allowed here to get respective first stator or rotor lamination.
- Parameters:
self (Machine) – Machine object
label (str) – Label of the lamination
- Returns:
index – List index of the lamination, if label doesn’t exists index is None
- Return type:
int