User Tools

Site Tools


software:grainspotter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
software:grainspotter [2018/06/23 08:35]
matthias created
software:grainspotter [2019/09/04 09:38] (current)
smerkel
Line 1: Line 1:
 ====== GrainSpotter ====== ====== GrainSpotter ======
 +GrainSpotter is a software which looks for grains in a 2D diffraction image. It was developed by S. Schmidt, Technical University of Denmark. See the publication for more information:​
  
-GrainSpotter ​is software which looks for grains in a 2D diffraction image.+Søren Schmidt\\  
 +//GrainSpotter//: fast and robust polycrystalline indexing algorithm\\ 
 +J. Appl. Cryst. (2014). **47**, 276-284\\ 
 +https://​doi.org/​10.1107/​S1600576713030185
  
-To run it, you need a file with the ending //.ini//. When you perform a simulation with [[software:​polyxsim|PolyXSim]],​ it should automatically create such a file. It usually looks like this:+===== Installing GrainSpotter =====
  
-{{screenshot|screenshot}}+==== Necessary Hardware and Software ==== 
 +First of all, you will need Linux, either as a separate harddrive (with lots of memory space) or as a virtual machine on your Windows/​Apple computer. In case you are not familiar with Linux, ask your administrator for help and maybe do an online crash course to learn basic navigation and so on.
  
-Explanations ​of the .ini file:\\ +==== Installation ==== 
-|...|| +You have basically two options for getting GrainSpotter. One is with the help of Anaconda, or from the source 
-|cut_first number|grain ​is chosen if there are at least this amount ​of peaks per grain| + 
-|cut_second number|grain is chosen if there are at least this fraction of the expected peaks present+=== Installation with Anaconta === 
-|cut_third number|put in any number|+ 
 +First of all, get yourself Anaconda[[https://​www.anaconda.com/​download/#​linux]] 
 + 
 +Then go to the [[https://​anaconda.org/​|Anaconda Cloud]] with your browser and search the cloud for //​grainspotter//​Then click on //Files// and download the Linux versionUnpack it to a directory of your choice
 + 
 +Go back to your browser and click on //Conda//. There is a short code which is necessary to install GrainSpotter. It should be something like ''​conda install -c fable grainspotter''​ 
 + 
 +Copy the code to your Konsole and follow the installation instructions. 
 + 
 +=== Installation from the source code === 
 + 
 +The installation requires a C compiler installed in your system. 
 +  - Download the GrainSpotter source code from [[https://​sourceforge.net/​p/​fable/​code/​HEAD/​tree/​GrainSpotter/​trunk/​]],​ 
 +  - Move into the folder with GrainSpotter and type ''​make'',​ 
 +  - Log-in as administrator (root) and type ''​make install''​. 
 + 
 +It should work out of the box. 
 + 
 + 
 +===== Running the software ===== 
 + 
 +To run it, you need a file with the ending //.ini//. When you perform a simulation with [[software:​polyxsim|PolyXSim]], it should automatically create such a file. For more information on how it should look like click [[fileformat:​ini|here]]. 
 + 
 +When you think your //.ini// file should be fine, it is time to "spot grains"​ (at least this is what the software should do according to its name). For this type the following to the Konsole: 
 + 
 +  grainspotter '​some_file_name'​.ini 
 +  or 
 +  GrainSpotter.0.90 '​some_file_name'​.ini 
 + 
 +The algorithm produces a //.log// file, a //.spe// file and a //.gve// file. 
 + 
 +===== Manual ===== 
 + 
 +There is a brief manual online at [[https://​sourceforge.net/​p/​fable/​code/​HEAD/​tree/​GrainSpotter/​trunk/​doc/​]]. 
 + 
 +Otherwise, you should have a look at the following pages 
 +  * [[processing:​indexing_with_grainspotter|Grain indexing with GrainSpotter]] 
 +  * [[processing:​complex-multi-phase|In the works: indexing a complex dataset with many phases]]
software/grainspotter.1529742925.txt.gz · Last modified: 2019/02/18 10:11 (external edit)