pyfaults

layer.py

Stores unit cell layer properties

Last updated: 08/05/2024


class pyfaults.layer.Layer(builtins.object)

   Layer(atoms, lattice, layerName)

   Stores unit cell layer properties

   Parameters:


Methods:

__init__(self, atoms, lattice, layerName)

   Initialization, defines Layer defaults

setParam(self, atoms=None, lattice=None, layerName=None)

   Sets parameters of Layer

display(self)

   Prints atoms in Layer

toCif(self, path)

   Generates a CIF file of Layer

   Parameters:

genChildLayer(self, childName, transVec)

   Creates a new Layer object that is a copy of the original Layer displaced by a given translation vector

   Parameters:


getLayers(df, lattice, layerNames)

   Imports layer information from a dataframe, returns list of Layer objects

   Parameters:

   Returns:


By Sinclair R. Combs

Copyright 2023 Colorado School of Mines