The command
* = attr(ub_matrix, ri)
returns hkl and angles (tocp order) of reflection no i (i from [0,19]).