radtools.bravais_lattice_from_cell#
- radtools.bravais_lattice_from_cell(cell) Lattice[source]#
Create Bravais lattice from cell matrix.
Orientation of the cell is respected, however the lattice vectors are renamed with respect to [1].
- Parameters:
- cell(3,3) array-like
Cell matrix, rows are interpreted as vectors.
cell = [[a1_x, a1_y, a1_z], [a2_x, a2_y, a2_z], [a3_x, a3_y, a3_z]]
- lattice_typestr
Lattice type.
- Returns:
- bravais_latticeLattice
Bravais lattice.
References
[1]Setyawan, W. and Curtarolo, S., 2010. High-throughput electronic band structure calculations: Challenges and tools. Computational materials science, 49(2), pp.299-312.