Skip to main content

The eulsig.m Matlab application

This application allows you to obtain the grain boundary misorientation as well as their Sigmas. The results are presented in histograms and stereographic projections.

You will need two input files

  • A text file containing the euler angles of all the grains, in the format of the text file .eul generated by ebsp.m, i.e. with each line containing the data for one grain, which are the grain number, followed by the three euler angles. The file name must end with .eul
  • A text file (the index file) containing the list of the grain numbers forming each of the grain boundaries. You have to edit this file using a text editor, and its name must end by .ind. The format of this file is such that each line must correspond to a grain boundary, and contain the number of the grains forming the grain boundary separated by a space. An example of such file can be found in the EBSP package (see example.ind).

Both files must be put in the same folder/directory as the EBSP package files. From this folder start Matlab and at the Matlab prompt (>>) type eulsig. A menu will pop-up asking you to choose an euler angle file. Click first on the file name and then on the done or OK button. On the SGi , having the file name highlighted is not enough , you have to click on the file name, or the application will crash. You can also cancel. In the same manner, you will then be asked for the index file name. Finally, you will be asked for a name for the output file (result file).

The output file is a text file and contains all the grain boundary misorientations, described by the angle/axis pair notation, and their Sigmas. Sigma = 1 means that the grain boundary is a low angle grain boundary (misorientation angle lower than 15?). Sigmas = 0 means that the sigma is higher than 49. Also, the decimal value means a for .1, b for .2, etc...

In addition to the results files, eulsig.m can also represent the results in histograms and stereographic projections. After the application eulsig.m finishes calculating all the misorientations, you will be asked if you want such representation. Remember that 0 means no and 1 means yes. Also, note that the application will hang if it expects you to click on a position on the stereographic projection.

Previous Chapter

Last Updated: 10/2/08