biotite.structure.superimpose_apply¶
- biotite.structure.superimpose_apply(atoms, transformation)[source]¶
Superimpose structures using a given
AffineTransformation
.The
AffineTransformation
can be obtained by prior superimposition.DEPRECATED: Use
AffineTransformation.apply()
instead.- Parameters
- atomsAtomArray or ndarray, shape(n,), dtype=float
The structure to apply the transformation on. Alternatively coordinates can be given.
- transformation: AffineTransformation
The transformation, obtained by
superimpose()
.
- Returns
- fittedAtomArray or AtomArrayStack
A copy of the atoms structure, with transformations applied. Only coordinates are returned, if coordinates were given in atoms.
See also