or0, or1, or_swap

           
class or0(Macro, _diffrac):
    """Set primary orientation reflection.""" 
    
    param_def = [
       ['H', Type.Float, None, "H value"],
       ['K', Type.Float, None, "K value"],
       ['L', Type.Float, None, "L value"],
    ]

class or1(Macro, _diffrac):
    """Set secondary orientation reflection.""" 
    
    param_def = [
       ['H', Type.Float, None, "H value"],
       ['K', Type.Float, None, "K value"],
       ['L', Type.Float, None, "L value"],
    ]

class or_swap(Macro, _diffrac):
    """Swap values for primary and secondary vectors."""

p09/door/haso107d1.01 [14]: or0 1 0 0 
U can not be computed. Only one reflection

[ move to a new angular position ]

p09/door/haso107d1.01 [16]: or1 1 1 0
Computing U with reflections 0 and 1
Not file name given as argument and not SaveCrystalFile environment defined
Data not saved

p09/door/haso107d1.01 [28]: or_swap

p09/door/haso107d1.01 [29]: pa
Eulerian 6C Geometry, bissector_vertical
Sector [ToDo]

  1st Reflection (index 0): 
  H K L :     1.0000     1.0000    -0.0000
  Affinement, Relevance : 0 1
mu theta chi phi gamma delta:     0.0000    46.5490    45.0000    90.0000     0.0000    93.0980
  2nd Reflection (index 1): 
  H K L :     1.0000     0.0000     0.0000
  Affinement, Relevance : 0 1
mu theta chi phi gamma delta:     0.0000    30.8860     0.0000    90.0000     0.0000    61.7720
  Lattice Constants (lengths / angles):
              real space = 1.50000521641 1.4999998163 1.49999988198 / 90.0000061773 90.0001701315 90.0001865431
  Azimuthal Reference:

                  [ToDo] = [ToDo]

                  Lambda = 1.54

 Cut Points:
    [ToDo]