moirepy.layers.HexagonalLayer
Bases: Layer
A honeycomb (hexagonal) lattice with two atoms per unit cell (types "A" and "B").
This is the lattice structure of graphene and related 2D materials.
Each atom has three nearest neighbours of the opposite type. Lattice
vectors are [1, 0] and [0.5, sqrt(3)/2].
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pbc
|
bool
|
Periodic boundary conditions. Default is |
False
|
study_proximity
|
int
|
Number of supercell shells for the neighbour search. Default is |
1
|
Examples:
>>> from moirepy import HexagonalLayer
>>> layer = HexagonalLayer()