Skip to content

IDL Scripts

Marc DeGraef edited this page Dec 26, 2018 · 4 revisions

IDL Visualization Scripts

As part of the EMsoft public distribution we make availabe a series of visualization scripts written in the Interactive Data Language (IDL). These scripts are utility scripts that may be of use to some EMsoft users. Unfortunately, IDL is not free and requires a license; many universities have site licenses, so you should check with your IT or software department. In this document, we will explain here one step you need to take to enable the use of the IDL scripts.

Generating the Dynamic Library libEMsoftLib

If you are working on a Windows 10 platform, then you should not have to do this step, since all libraries are already dynamic libraries (dll).

The IDL scripts require access to a dynamic EMsoft library; by default, EMsoft is compiled with static libraries on Mac OS X and Linux, so if you are compiling the package yourself based on the source code repositories, then you will have to generate the dynamic library yourself. We will assume that you have the EMsoft_SDK installed, that the source code from the public repository is installed in the EMsoftPublic folder, and that you built the package in a EMsoftBuild/Release folder. The EMsoftPublic folder is assumed to be at the same level as the EMsoftBuild folder.

Using a terminal window, navigate to the EMsoftBuild/Release folder and execute the following command:

ccmake ../../EMsoftPublic

This will create an interface with variables listed in the left column, and values on the right (superimposed on a dark background). Use the arrow keys to bring the cursor to the second variable, BUILD_SHARED_LIBS; press enter to toggle the value to ON. Then press c to configure, and g to generate; this will end the program and return you to the command line. Enter

make -j EMsoftLib

This will recompile the sources if necessary and generate a dynamic library called libEMsoftLib.dylib (on Mac OS X) or libEMsoftLib.so (on Linux). Then, rerun the ccmake command above and set BUILD_SHARED_LIBS to OFF.

Finally, make sure that the EMsoftLibraryLocation parameter in the configuration file is set to the Bin folder than contains the dynamic library.

Information for Users

Home

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
XRD Modalities     - Laue Master Pattern Simulation
    - EMLaue
    - EMLaueSlit
General Parameter Definitions * Foil Defect Configuration Definitions
EMsoftWorkbench
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
IDL Scripts     - Virtual Machine Apps
    - SEMDisplay
    - Efit
    - CBEDDisplay
python wrappers     - python examples
Docker     - Docker Image

Complete Examples

  1. Crystal Data Entry Example
  2. EBSD Example
  3. ECP Example
  4. TKD Example
  5. ECCI Example
  6. CBED Example
  7. Dictionary Indexing Example
  8. DItutorial

Information for Developers

Clone this wiki locally