Inorganic crystals#
Metals, semiconductors, oxides and other inorganic crystals make up nearly all of the built-in crystal library. This page lists the library, and shows how to construct a crystal structure from a unit cell.
Built-in crystals#
list_all_builtin_crystals() returns the names of the built-in
crystals:
from pyemaps import Crystal
print(Crystal.list_all_builtin_crystals())
The library has 44 crystals. All but Pentacene, an organic crystal (see Organic crystals), are inorganic:
'Aluminium', 'AluminiumOxide', 'Aluminium_FCC', 'BariumTitanate_180k',
'BariumTitanate_270k', 'BariumTitanate_Tetra', 'BiMnO3', 'Boron_Tetra',
'CadmiumSelenide_Hex', 'CadmiumSulfide_Cubic', 'CadmiumSulfide_Hex',
'Chromium_BCC', 'CopperOxide', 'Copper_FCC', 'CoSb3_Skutterudite',
'Cu2O_Cuprite', 'Diamond', 'ErbiumPyrogermanate', 'FePd_Tetra',
'FeS2_Pyrite', 'GalliumAntimonide', 'GalliumArsenide', 'GalliumNitride',
'Germanium', 'Gold_FCC', 'IndiumArsenide', 'LaMnO3',
'LeadZirconateTitanate', 'Li2MnO3', 'limno2', 'NaFeO2', 'Nb3Sn',
'Pentacene', 'Silicon', 'StrontiumTitanate', 'TelluriumDioxide',
'TinDioxide_RT', 'TitaniumDioxide_Anatase', 'TitaniumDioxide_Rutile',
'TungstenDiselenide', 'VanadiumDioxide_RT', 'ZincOxide', 'Zinc_HCP',
'ZirconiumNitride'
Constructing crystal structures#
generateMxtal() builds a block of the crystal’s atomic
structure (a supercell) from its unit cell, and
writeXYZ() saves it as an .xyz file:
from pyemaps import Crystal
si = Crystal.from_builtin('Silicon')
mx = si.generateMxtal()
si.writeXYZ(mx)
The file is saved in the mxtal subfolder of the data folder. Tools such as Jmol can import it to show the structure in 3D.
The block this example builds, 3 × 3 × 3 cells of Silicon, drawn as balls and sticks in Jmol’s colors and viewed down [110], where the diamond structure’s hexagonal channels show. The drawing isn’t made by pyEMAPS.#