There is no algorithm proper. calview interrogates the calibration state server and the calibration view server, and it displays the results in a number of widgets and pull down menus. Each time the value of one of the state variables is changed, calview loops through all the widgets and menus to bring them in line with the new state.