Periodic Info
Class holding periodic cell information.
- class PeriodicInfo(vector_1, vector_2, vector_3)[source]
Bases:
object
Periodic cell information for periodic systems.
Methods
clone
()Return a clone.
get_a
()Get a length.
Get alpha angle.
get_b
()Get b length.
get_beta
()Get beta angle.
get_c
()Get c length.
Get cell matrix.
Get gamma angle.
Get x vector.
Get y vector.
Get z vector.
- __init__(vector_1, vector_2, vector_3)[source]
Initialize a
PeriodicInfo
instance.Converts cell matrix to lengths and angles, where lengths are in Angstrom and angles are in degrees. This code is modified from the pymatgen source code [1].
- Parameters
References
- get_vector_1()[source]
Get x vector.
- Return type
- Returns
Cell lattice vector of shape (3, ) in x direction in Angstrom.