get_rot_dir (method)

get_rot_dir(self)[source]

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

Parameters

self (Output) – an Output object

Returns

rot_dir – Rotation direction of magnetic field fundamental

Return type

int