diff_mode() selects how hkl and psi are transformed to the diffractometer angles:
diff_mode() diff_mode() = 0 Tango: 0 bissector_vertical 1 constant_omega_vertical 2 constant_chi_vertical 3 constant_phi_vertical 4 lifting_detector_phi 5 lifting_detector_omega 6 lifting_detector_mu 7 double_diffraction_vertical 8 bissector_horizontal 9 double_diffraction_horizontal 10 psi_constant_vertical
diff_asn() selects the set of angles:
diff_asn() diff_asn() = 0
Tango: diff_psirefx(), diff_psirefy(), diff_psirefz() specify the reference vector for psi.