diff_set_r0(), diff_get_r0(), ~r1

These functions handle the orienting reflections. A reflection that is used for the orientation consists of hkl values and angles. The angles are read from the current motor positions, if they are not supplied.

 
* = diff_set_r0( h, k, l)
* = diff_set_r0( h, k, l, tt, om, ch, ph)
* = diff_set_r0( h, k, l, mu, om, ch, ph, ga, de)
* = diff_set_r1( h, k, l)
* = diff_set_r1( h, k, l, tt, om, ch, ph)
* = diff_set_r1( h, k, l, mu, om, ch, ph, ga, de)

This is how a reflection can be read:

* = diff_get_r0()
  (h=1,k=1,l=1,mu=1,om=-267,ch=-75.486,ph=16.185,ga=114.023,de=0)