Skip to content

moirepy.layers.SquareLayer

Bases: Layer

A simple square lattice with one atom per unit cell.

Lattice vectors are [1, 0] and [0, 1]. The single atom type "A" has four nearest neighbours at the cardinal directions.

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 SquareLayer
>>> layer = SquareLayer()