GTImportCIF[filename]
opens .cif file and imports relevant data to generate structure data for GTInstallStructure.
Details and Options
Examples
Basic Examples
See Also
Related Guides
GroupTheory`
GroupTheory`
GTImportCIF
GTImportCIF[filename]
opens .cif file and imports relevant data to generate structure data for GTInstallStructure.
Details and Options
- GTImportCIF opens the filename and extracts the name of the crystal structure, the space group, lattice contants and basis vectors. It also generates the lattice vectors from the imported lattice angles and lattice parameters.
- .cif files don't contain information about Pearson Symbol and Strukturbericht data, so these cells are blanked.
- Imported structures can be installed using GTInstallStructure.
- Installed structures can be saved using GTSaveStructures or exported using GTExportXSF.
-
GOFractional False Specifies if fractional coordinates should be used GOCorrectLabels True Specifies if atomic labels should be corrected or labelled according to cif-file - See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 4.2
Examples
Basic Examples (1)
Needs["GroupTheory`"]Show already installed crystal data.
GTAllStructures[]If structres are installed in scgrp you can remove those structures.
GTClearStructures[]Crystal structure not found? Import it.
SetDirectory[NotebookDirectory[] <> "datasets"];
nacl = GTImportCIF["nacl.cif"]
copper = GTImportCIF["copper.cif"]GTInstallStructure[nacl]
GTInstallStructure[copper]List all installed crystal structures.
GTAllStructures[]Check the correctness of imported data for Cu:
GTGetStructure["Cu"]