The transformation matrix connecting the groupsubgroup related structures is calculated by first finding a compatible affine normalizer with respect to the lattice parameters and possible transformation matrixes for the given groupsubgroup fetched from the database.
Once the latticecompatible transformation is derived, the Euclidean normalizers of the subgroup are applied to find the most suitable transformation, this time also taking into account the atomic positions.
