MCPcopy Create free account
hub / github.com/densechen/CASS / orthogonalization_matrix

Function orthogonalization_matrix

lib/transformations.py:862–886  ·  view source on GitHub ↗

Return orthogonalization matrix for crystallographic cell coordinates. Angles are expected in degrees. The de-orthogonalization matrix is the inverse. >>> O = orthogonalization_matrix([10, 10, 10], [90, 90, 90]) >>> numpy.allclose(O[:3, :3], numpy.identity(3, float) * 10) True

(lengths, angles)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected