Skip to content

moirepy.layers.Rhombus60Layer

Bases: Layer

A rhombic lattice with a 60-degree opening angle and one atom per cell.

Both lattice vectors have unit length; lv1 is along x and lv2 is at 60 degrees. The atom type "A" has four nearest neighbours (two along each lattice direction).

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
Notes

The opening angle is hard-coded to 60 degrees. For other angles, derive a subclass or use :class:Layer directly.

Examples:

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