function [rad] = hotspin_step2rad( step)
% converts encoder steps (0-500) into radians (0-2pi)

rad = step/500*2*pi;