alhambra.fastlatticedefect#

Module Contents#

Functions#

_branchtiles(gl, st, tns, direction[, equiv, ...])

For an array of tile number chains (newest-to-oldest along dim 1)

_latticedefect_tile(gl, st, tn[, direction, n, equiv])

With n tiles in each branch, can tile number tn form

latticedefects(fts[, direction, depth, rotate, equiv])

Attributes#

_OE

_ENDER

alhambra.fastlatticedefect._OE[source]#
alhambra.fastlatticedefect._ENDER[source]#
alhambra.fastlatticedefect._branchtiles(gl, st, tns, direction, equiv=None, onlyusedandfs=True)[source]#

For an array of tile number chains (newest-to-oldest along dim 1) in a FTilesArray, find the tiles that match the direction (with equiv). Return a new chain array with the new tiles added.

alhambra.fastlatticedefect._latticedefect_tile(gl, st, tn, direction='e', n=2, equiv=None)[source]#

With n tiles in each branch, can tile number tn form a lattice defect?

alhambra.fastlatticedefect.latticedefects(fts, direction='e', depth=2, rotate=False, equiv=None)[source]#