sisl.physics.brillouinzone module¶
Different tools for contsructing k-points and paths in the Brillouin zone
-
class
sisl.physics.brillouinzone.
BrillouinZone
(sc)[source]¶ Bases:
sisl.supercell.SuperCellChild
A class to construct Brillouin zone related quantities
It takes a super-cell as an argument and can then return the k-points in non-reduced units from reduced units.
Attributes
cell
Returns the inherent SuperCell
objectscell
n_s
Returns the inherent SuperCell
objectsn_s
nsc
Returns the inherent SuperCell
objectsnsc
rcell
Returns the inherent SuperCell
objectsrcell
sc_off
Returns the inherent SuperCell
objectssc_off
vol
Returns the inherent SuperCell
objectsvol
Methods
__call__
(k[, reduced])Return the k-point in 1/Ang coordinates add_vacuum
(vacuum, axis)Add vacuum along the axis
lattice vectoris_orthogonal
()Return true if all cell vectors are linearly independent k
(kb)Return the k-point in 1/Ang coordinates kb
(k)Return the k-point in reduced coordinates sc_index
(*args, **kwargs)Call local SuperCell
objectsc_index
functionset_nsc
(nsc)Set the number of super-cells in the SuperCell
objectset_sc
(sc)Overwrites the local supercell set_supercell
(sc)Overwrites the local supercell Initialize a
BrillouinZone
object from a givenSuperCell
Parameters: sc : SuperCell or array_like
the attached supercell
Attributes
cell
Returns the inherent SuperCell
objectscell
n_s
Returns the inherent SuperCell
objectsn_s
nsc
Returns the inherent SuperCell
objectsnsc
rcell
Returns the inherent SuperCell
objectsrcell
sc_off
Returns the inherent SuperCell
objectssc_off
vol
Returns the inherent SuperCell
objectsvol
Methods
__call__
(k[, reduced])Return the k-point in 1/Ang coordinates add_vacuum
(vacuum, axis)Add vacuum along the axis
lattice vectoris_orthogonal
()Return true if all cell vectors are linearly independent k
(kb)Return the k-point in 1/Ang coordinates kb
(k)Return the k-point in reduced coordinates sc_index
(*args, **kwargs)Call local SuperCell
objectsc_index
functionset_nsc
(nsc)Set the number of super-cells in the SuperCell
objectset_sc
(sc)Overwrites the local supercell set_supercell
(sc)Overwrites the local supercell
-
class
sisl.physics.brillouinzone.
PathBZ
(sc, points, divisions)[source]¶ Bases:
sisl.physics.brillouinzone.BrillouinZone
Create a path in the Brillouin zone for plotting band-structures etc.
Attributes
cell
Returns the inherent SuperCell
objectscell
n_s
Returns the inherent SuperCell
objectsn_s
nsc
Returns the inherent SuperCell
objectsnsc
rcell
Returns the inherent SuperCell
objectsrcell
sc_off
Returns the inherent SuperCell
objectssc_off
vol
Returns the inherent SuperCell
objectsvol
Methods
__call__
(k[, reduced])Return the k-point in 1/Ang coordinates add_vacuum
(vacuum, axis)Add vacuum along the axis
lattice vectoris_orthogonal
()Return true if all cell vectors are linearly independent k
(kb)Return the k-point in 1/Ang coordinates kb
(k)Return the k-point in reduced coordinates lineark
()A 1D array which corresponds to the delta-k values of the path sc_index
(*args, **kwargs)Call local SuperCell
objectsc_index
functionset_nsc
(nsc)Set the number of super-cells in the SuperCell
objectset_sc
(sc)Overwrites the local supercell set_supercell
(sc)Overwrites the local supercell Instantiate the
PathBZ
by a set of specialpoints
separated indivisions
Parameters: sc : SuperCell or array_like
the unit-cell of the Brillouin zone
points : array_like of float
a list of points that are the corners of the path
divisions : int or array_like of int
number of divisions in each segment. If a single integer is passed it is the total number of points on the path (equally separated). If it is an array_like input it must have length one less than
points
.Attributes
cell
Returns the inherent SuperCell
objectscell
n_s
Returns the inherent SuperCell
objectsn_s
nsc
Returns the inherent SuperCell
objectsnsc
rcell
Returns the inherent SuperCell
objectsrcell
sc_off
Returns the inherent SuperCell
objectssc_off
vol
Returns the inherent SuperCell
objectsvol
Methods
__call__
(k[, reduced])Return the k-point in 1/Ang coordinates add_vacuum
(vacuum, axis)Add vacuum along the axis
lattice vectoris_orthogonal
()Return true if all cell vectors are linearly independent k
(kb)Return the k-point in 1/Ang coordinates kb
(k)Return the k-point in reduced coordinates lineark
()A 1D array which corresponds to the delta-k values of the path sc_index
(*args, **kwargs)Call local SuperCell
objectsc_index
functionset_nsc
(nsc)Set the number of super-cells in the SuperCell
objectset_sc
(sc)Overwrites the local supercell set_supercell
(sc)Overwrites the local supercell