cctbx.uctbx package

Subpackages

Submodules

The unit cell

class cctbx.uctbx.unit_cell(parameters=None, metrical_matrix=None, orthogonalization_matrix=None)

Class for the handling of unit cell information.

All angles are in degrees.

The PDB convention for orthogonalization and fractionalization of coordinates is used:

Crystallographic Basis: D = {a,b,c}
Cartesian Basis: C = {i,j,k}
i parallel to a
j is in (a,b) plane
k = i x j
Parameters:
  • parameters – A list, tuple or string of unit cell parameters.

  • metrical_matrix – Metrical matrix. See also metrical_matrix().

  • orthogonalization_matrix – Orthogonalization matrix. See also orthogonalization_matrix().

Returns:

None

Return type:

None