# CrystalLayer¶

class CrystalLayer(material_specifications, length, miller_indices=None, top_atom_index=None, bottom_atom_index=None)

Class to specify layer materials in MultilayerBuilder.

Parameters: material_specifications (MaterialSpecifications.) – A descriptor of a bulk material, plus the information needed to perform the calculations. length (PhysicalQuantity of type length) – The target length (thickness) of the layer. A length of zero will generate the smallest possible layer.
length()
Returns: The target length (thickness) of the layer. PhysicalQuantity of type length
materialSpecifications()
Returns: The descriptor of a bulk material, plus the information needed to perform the calculations. MaterialSpecifications