-
Notifications
You must be signed in to change notification settings - Fork 98
python wrapper installation
Marc DeGraef edited this page Sep 5, 2019
·
1 revision
Here are the instructions to build the python wrappers and the associated documentation:
- To compile EMsoft, you need to first build the Software Developer Kit for your operating system.
- Then, follow the instructions on the main EMsoft page to compile the EMsoft modules and programs.
- Next, complete the EMsoft package configuration following the EMsoft Wiki Package Configuration help page.
- To test if EMsoft has been configured correctly, run a simple example such as the Crystal Data Entry Example.
- (Suggested) Install a recent version of the Anaconda distrinution to install packages such as Python, numpy, and many others.
- Install the blas, lapack, and tgmlib libraries from the command line by executing the conda install lapack. These libraries will be linked later to some of the modules for convenient linear algebra operations.
- Install f90wrap and make sure f90wrap and f2py-f90wrap are added to your shell path. These are the two important executables needed to generate the wrappers.
- From the shell command line, cd into the pyEMsoft folder in the EMsoft repository and execute the shell script with ./run_pyEMsoft.sh. This will take quite a while.
- Once the shell script ends you should have a fully functioning python wrapper library. You can also generate the documentation using the ./run_docs.sh script.
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