pyfaults

unitcell.py

Stores unit cell properties

Last updated: 08/05/2024


class pyfaults.unitcell.Unitcell(builtins.object)

   Unitcell(name, layers, lattice)

   Stores unit cell properties

   Parameters:


Methods:

__init__(self, name, layers, lattice)

   Initialization, defines Unitcell defaults

setParam(self, name=None, layers=None, lattice=None)

   Sets parameters of Unitcell

layer_info(self)

   Prints layer names in unit cell

toCif(self, path)

   Generates a CIF file of Layer

   Parameters:


By Sinclair R. Combs

Copyright 2023 Colorado School of Mines