GTExportXSF

GTExportXSF[filename,data]
exports structure data to .xsf format for visualisation with e.g. XCrySDen.

DetailsDetails

  • GTExportXSF exports structure data according to the .xsf format. Due to the simplicity of the .xsf format only the lattice vectors and the atom positions are exported.
  • The module tries to convert the atom labels to element labels, which may leed to error messages on failure.
  • Structures can be gatherd by GTGetStructure or GTImportCIF.
  • Installed structures can be shown using GTAllStructures.
  • The following option can be used:
  • GOVerboseTrueControls the ouptput of additional information
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First, load the package:

In[1]:=
Click for copyable input

Clear internal variable spcgrp.

In[2]:=
Click for copyable input
Out[2]=

Show already installed crystal data.

In[3]:=
Click for copyable input

Crystal structure not found? Import it or gather already implemented structures via GTGetStructure.

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

Change the exported directory and export the data.

In[6]:=
Click for copyable input
In[7]:=
Click for copyable input