# comp_rot_dir (method)¶

comp_rot_dir(self)[source]

Compute the rotation direction of the fundamental magnetic field induced by the winding WARNING: rot_dir = -1 to have positive rotor rotating direction, i.e. rotor position moves towards positive angle

Parameters

self (LamSlotWind) – A LamSlotWind object

Returns

rot_dir – -1 or +1

Return type

int