radtools.bravais_lattice_from_param#
- radtools.bravais_lattice_from_param(a, b, c, alpha, beta, gamma) Lattice[source]#
Create Bravais lattice from lattice parameters.
Orientation is default as described in [1].
- Parameters:
- afloat, default 1
Length of the \(a_1\) vector.
- bfloat, default 1
Length of the \(a_2\) vector.
- cfloat, default 1
Length of the \(a_3\) vector.
- alphafloat, default 90
Angle between vectors \(a_2\) and \(a_3\). In degrees.
- betafloat, default 90
Angle between vectors \(a_1\) and \(a_3\). In degrees.
- gammafloat, default 90
Angle between vectors \(a_1\) and \(a_2\). In degrees.
- 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.