Giter VIP home page Giter VIP logo

emsoft-utilities's Introduction

EMsoft-utilities

Some useful code for interacting with EMsoft in MATLAB. These programs also allow you to use hexagonal grid data and index multiple phases, which cannot be done directly in EMsoft.

Different versions of EMsoft have separate code here because of the differences in pattern orientation. Using the incorrect version can lead to incorrect indexing (and may not give an error). We have only tested EMsoft v4.0 and v4.3. Please let us know if one or neither of these versions seems to work for you.

More information about EMsoft can be found at: https://github.com/EMsoft-org/EMsoft

Program descriptions:

  • FindMapPoints_edaxang.m: Script that plots data from an EDAX .ang file and lets you click on points to extract info for that map point.
  • GetPatternCenter_edaxang.m: Script that extracts pattern center from an EDAX .ang file and converts it to EMsoft coordinates.
  • ComparePatterns.m: Compare 2 patterns by flashing between the two images.
  • ConvertStorePatternsAsBinary.m: Stores all images in a folder into a .data file that can be read in by EMsoft.
  • RunEMEBSD.m: Run EMsoft's EMEBSD program to simulate patterns and save as image files.
  • RunEMEBSDDI.m: Run EMsoft's EMEBSDDI program to perform dictionary indexing and save .ang file.
  • RunEMEBSDDI_refine.m: Run EMsoft's EMEBSDDI program to perform dictionary indexing, then immediately run EMsoft's EMFitOrientation program to refine dictionary indexing data and save .ang file.
  • RunEMFitOrientation.m : Run EMsoft's EMFitOrientation program to refine dictionary indexing data and save .ang file.
  • CombineAngFiles.m: Use to stitch together data from multiple .ang files (one phase each), selecting the phase with the highest NDP.
  • TestErrorsTimings.m: Use this program to report errors and timings for EMsoft's EMEBSDDI program. Certain combinations of number of threads, numexptsingle/numdictsingle, and orientations causes errors (bug in EMsoft). Parameter values also greatly affect speed.

A walkthrough of how to perform a dictionary indexing run using EMsoft-utilities can be found in the file Instructions.pdf.

Some of these programs currently only work for EDAX .ang data. Please contact me if you would like the code adapted to data in another format. Feel free to email me at [email protected] if you have any questions/difficulties/suggestions.

emsoft-utilities's People

Contributors

epang22 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.