First step : choose input file or create a new one.
In menu, select Grainspotter->open ini file
Screen shot 1. : select a ini file in a directory.
Screen shot 2. : create a new ini file in a directory : enter the name of your ini file. On windows, you don' t need to add extension.ini to the name. Click on save.
Second step : check input file.
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. See
ImageD11 wiki.
When you open an input file, g-vector file is automatically loaded in the 3d view
3d view.
If the path set is not correct, file can not be opened in the 3D view and an error message
appears in the console.
Error, no g-vector file found.
You need to select g-vector file in the editor.
As the editor is edited, a * appears in the title. You can choose to saveAs your new input
file in a new file.
Select File->Save As.
By default, when you launch grainspotter program with the current input file,
the file is saved automatically.
Check the star at the top of the editor.
Step 3 : Save your options in ini file
To run Grainspotter, you need to save input options in the file. If your current input file loaded in the editor has changed, a star appears in the top of the editor.
You can choose to save or saves as your input file if you follow instructions below.
If your input file has been edited, and not save, when you launch grainspotter, the file is automatically saved.
TODO: tell the used the file has changed and must be changed for the next release.
Save
Once your options are set, save grainspotter input file;
- In menu File, select item save
- In the tool bar, click on
Save as...
Once your options are set, save grainspotter input file in a new file.
- In menu File, select item save as...
- In the tool bar, click on
Step 4 : Launch grainspotter
The program is supplied with the
application in menu Windows->Preferences->Grainspotter.
Once the input parameters have been determined and are ok for your current input file
(check console message),
click on the arrow available from Grainspotter menu or from the toolbar
to start running the program with the current input file.
Remember : Grainspotter is launched with the current ini file (the page that has the focus).
If the ini file has been changed, a star appears and this new ini file is saved if you haven't done step 3, with this new options as soon as you launch Grainspotter.
Once Grainspotter has finished running then the output i.e.
Grains, is displayed in a table in log view and the G-vectors for each grain can
be plotted in 3Dview.