Grainspotter - Getting Started

GrainSpotter needs a set of G-vectors and a set of parameters describing the sample and experimental parameters.

The G-vectors are usually determined by a program called ImageD11 based on the peaks it find in the corrected xray diffraction images.

The G-vector files contain the d-spacings at the beginning of the file e.g.

5.800000 5.800000 5.800000 90.000000 90.000000 90.000000 F

# wavelength = 0.154000

# wedge = -2.830000

# ds h k l

0.2986294 -1 -1 -1

0.2986294 1 1 1

0.2986294 -1 -1 1



followed by the peak positions e.g.

# xr yr zr xc yc ds phi omega

0.064362 0.219694 0.012694 1028.520555 762.834101 0.229279 -86.771748 17.500000

-0.065515 0.234794 -0.164903 860.732311 748.292731 0.294302 -124.057805 -15.937433

-0.119559 0.209415 0.171731 1179.003292 751.325966 0.296042 -54.403202 -26.097958



It also needs a set of parameters describing the

These are provided to GrainSpotter as an .ini file. Any existing .ini files can be loaded using the File -> Load ini file menu.

Once the input parameters have been determined click on the arrow to start running the program. The program is supplied with the application.

Once Grainspotter has finished running then the output i.e. Grains, is displayed in a table and the G-vectors for each grain can be plotted in 3D.

A preference page, available under Edit -> Preferences, allows the user to choose which version of the C program Grainspotter to run and what default values to use for the input parameters.