-
Notifications
You must be signed in to change notification settings - Fork 94
EMdrawcell
This is a very simplistic command line program to illustrate how one can draw crystal unit cells. It is really not meant to produce high quality plots (you should really use CrystalMaker to do that) but the source code might serve as an example for how to do this sort of thing. The program produces a PostScript file that can then be viewed by other programs.
Start the program from the command line with the EMdrawcell command and enter the crystal structure file name when prompted. We'll use the SrTiO3.xtal file for this example. The program then asks
Number of unit cells in a, b and c direction ?:
We'll pick 2,2,2 for this example. Then the program asks:
Viewing distance [nm] :
This parameter sets the level of perspective present in the rendering; a large distance will produce less perspective. Let's pick a viewing distance of 2 nm.
Enter viewing direction indices [uvw] :
For the viewing direction, at this point you can only use integer numbers, so let's pick the 3,2,0 direction. Then enter a PostScript file name at the prompt, e.g., test.ps. The program then asks:
Use ionic radii (1) or metallic (2) :
and we pick ionic in this case. The resulting PostScript file looks like this:
Wiki pages are maintained by M. De Graef; they are part of the EMsoft package and fall under the same copyright (BSD2).
Information for Users
SEM Modalities
- Monte Carlo Simulations- EBSD Master Pattern Simulations
- EBSD Overlap Master Patterns
- EBSD Pattern Simulations
- EBSD Dictionary Indexing
- EBSD Spherical Indexing
- EBSD Reflector Ranking
- EBSD HREBSD
- ECP Master Pattern Simulations
- ECP Pattern Simulations
- TKD Master Pattern Simulations
- TKD Pattern Simulations
- ECCI Defect Image Simulations
TEM Modalities
- HH4- PED
- CBED Pattern Simulations
- STEM-DCI Image Simulations
- EMIntegrateSTEM utility
Utility Programs
- EMConvertOrientations- EMDisorientations
- EMHOLZ
- EMKikuchiMap
- EMOpenCLinfo
- EMZAgeom
- EMcuboMK
- EMdpextract
- EMdpmerge
- EMdrawcell
- EMeqvPS
- EMeqvrot
- EMfamily
- EMGBO
- EMGBOdm
- EMgetEulers
- EMgetOSM
- EMlatgeom
- EMlistSG
- EMlistTC
- EMmkxtal
- EMorbit
- EMorient
- EMqg
- EMsampleRFZ
- EMshowxtal
- EMsoftSlackTest
- EMsoftinit
- EMstar
- EMstereo
- EMxtalExtract
- EMxtalinfo
- EMzap
Complete Examples
- Crystal Data Entry Example
- EBSD Example
- ECP Example
- TKD Example
- ECCI Example
- CBED Example
- Dictionary Indexing Example
- DItutorial
Information for Developers