User Tools

Site Tools


Advanced GrainSpotter indexing

In the previous section, we described how to perform grain indexing with GrainSpotter. After some time, you might realize that you are not satisfied with the results and need more advanced tuning of the process.

Below is an example on how to proceed to improve your indexing. It includes several steps

  1. Check your expected crystal structures, the corresponding peaks, and your g-vectors input,
  2. Run loops of GrainSpotter indexings,
  3. Optimize results for your fitted grains with FitAllB.

Crystal structure

As this point, you probably computed your list of G-vectors with ImageD11. The first line of the G-vectors file contains the unit cell parameters and lattice centering (one of P,A,B,C,I,F) and, below, you can find list of computed theoretical g-vectors for the expected unit cell.

This list is generated with crude calculations that do not know anything about atom types of positions in your structure. Chances are that many of those theoretical g-vectors do not exist for your structure or have a very low intensity.

At this point, you can use other softwares, such as VESTA to generate a list of the expected peaks as well as their relative intensities. You can then check your computed theoretical g-vectors in the G-vectors file and remove peaks that do not exist or with a low intensity.

GrainSpotter indexing loop

You probably noticed that, after some time, GrainSpotter does not find any new grains. At this point, you should

This process can be combined into advanced indexing loops. Attached is an example of custom loop for olivine (restricted access to team members) that will run a series of 25 GrainSpotter indexing with various tolerances.

There a second example, based on a NaCoF3 post-perovskite indexing (restricted access to team members). This second version of the loop is more advanced. You can have multiple indexings running in parallel on a multi-core machine. Some unnecessary output files have also been removed.

At the end, you will want to analyze and understand the reliability of your final indexings. Plotting grain orientations and comparing the indexings is a good start.

Optimize results for your fitted grains with FitAllB

Next step…

processing/advanced_indexing_with_grainspotter.txt · Last modified: 2020/04/10 12:50 by smerkel