# 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 experiments.json

dials.compare_orientation_matrices experiments_1.json experiments_2.json

dials.compare_orientation_matrices experiments_1.json experiments_2.json 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