Skip to content

moirepy.layers.TriangularLayer

Bases: Layer

A triangular (hexagonal close-packed) lattice with one atom per unit cell.

Lattice vectors are [1, 0] and [0.5, sqrt(3)/2]. The single atom type "A" has six nearest neighbours at the vertices of a regular hexagon.

Parameters:

Name Type Description Default
pbc bool

Periodic boundary conditions. Default is False.

False
study_proximity int

Number of supercell shells for the neighbour search. Default is 1.

1

Examples:

>>> from moirepy import TriangularLayer
>>> layer = TriangularLayer()