stko.UnitCell
- class stko.UnitCell(vector_1, vector_2, vector_3)[source]
Bases:
PeriodicInfoUnit cell information for periodic systems.
We are aware that this naming choice may not be appropriate (because not all inputs will be unit cells, strictly). However, for backwards compatability, we have not changed this naming.
Methods
Return a clone.
Get a length.
Get alpha angle.
Get b length.
Get beta angle.
Get c length.
Get cell matrix.
Get gamma angle.
Get x vector.
Get y vector.
Get z vector.
Update cell from structure in CIF.
Update cell from structure in Turbomole coord file.
Update cell.
- Parameters:
vector_1 (np.ndarray)
vector_2 (np.ndarray)
vector_3 (np.ndarray)
- clone()
Return a clone.
- Returns:
The clone.
- Return type:
PeriodicInfo
- get_cell_matrix()
Get cell matrix.
- get_vector_1()
Get x vector.
- Returns:
Cell lattice vector of shape (3, ) in x direction in Angstrom.
- Return type:
- get_vector_2()
Get y vector.
- Returns:
Cell lattice vector of shape (3, ) in y direction in Angstrom.
- Return type:
- get_vector_3()
Get z vector.
- Returns:
Cell lattice vector of shape (3, ) in z direction in Angstrom.
- Return type: