SCISOFT NCD: SCI-1917 initial implementation of degree of orientation
calculation