diff_mode, diff_asn

The function diff_mode selects one of the following modes:

 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

It is called like:
$ret = Spectra::diff_mode(10);
$ret = Spectra::diff_mode();

The function diff_asn selects/return the number of the selected set of angles (SOLEIL: Anglesidx):
$ret = Spectra::diff_asn(1);
$ret = Spectra::diff_asn();