Click here to go to the corresponding page for the latest version of DIALS

# dials.compare_orientation_matrices¶

## Introduction¶

Computes the change of basis operator that minimises the difference between two orientation matrices, and calculates the rotation matrix and Euler angles that relate the two resulting orientation matrices (after transformation by the calculated change of basis operator). Optionally calculates the angle between given miller indices for the respective orientation matrices.

Examples:

```
dials.compare_orientation_matrices models.expt
dials.compare_orientation_matrices models_1.expt models_2.expt
dials.compare_orientation_matrices models_1.expt models_2.expt hkl=1,0,0
```

## Basic parameters¶

```
hkl = None
comparison = *pairwise sequential
space_group = None
```

## Full parameter definitions¶

```
hkl = None
.type = ints(size=3)
.multiple = True
comparison = *pairwise sequential
.type = choice
space_group = None
.type = space_group
```