Module gonioimsoft.anglepairs

Working with anglepairs.txt file

Functions

def degrees2steps(angle)

Transform an angle (degrees) to corresponging rotary encoder steps.

def loadAnglePairs(fn)

Loading angle pairs from a file.

def saveAnglePairs(fn, angles)

Saving angle pairs to a file.

def step2degree(step)
def toDegrees(angles)

Transform 'angles' (that here are just the steps of rotary encoder) to actual degree angle values.