attribute( name => "ub_matrix", get => ...);
Returns an attribute of the UB matrix.
$ret = attribute( name => "ub_matrix", get => "r0");
Returns hkl and the angles (tocp) of the first
stored reflection.
$ret = attribute( name => "ub_matrix", get => "scan_mode");
$ret = attr( name => "ub_matrix", scan_mode => $val);
Returns/sets the scan mode. The meaning of $val is:
0 - Bisecting |
1 - Fixed psi |
2 - Constant plane |
3 - Fixed phi |
4 - Fixed om2 (omega-two_theta*0.5) |
$ret = attribute( name => "ub_matrix", get => "parameter");
$ret = attr( name => "ub_matrix", parameter => $val);
Returns/sets the scan mode parameter. The meaning depends
on the scan mode, e.g.: for the fixed-psi mode it is the psi value.