:py:mod:`alhambra.fastlatticedefect`
====================================

.. py:module:: alhambra.fastlatticedefect


Module Contents
---------------


Functions
~~~~~~~~~

.. autoapisummary::

   alhambra.fastlatticedefect._branchtiles
   alhambra.fastlatticedefect._latticedefect_tile
   alhambra.fastlatticedefect.latticedefects



Attributes
~~~~~~~~~~

.. autoapisummary::

   alhambra.fastlatticedefect._OE
   alhambra.fastlatticedefect._ENDER


.. py:data:: _OE

   

.. py:data:: _ENDER

   

.. py:function:: _branchtiles(gl, st, tns, direction, equiv=None, onlyusedandfs=True)

   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.


.. py:function:: _latticedefect_tile(gl, st, tn, direction='e', n=2, equiv=None)

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


.. py:function:: latticedefects(fts, direction='e', depth=2, rotate=False, equiv=None)


