User Tools

Site Tools


processing:indexing_with_imaged11

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
processing:indexing_with_imaged11 [2019/07/05 12:27]
matthias
processing:indexing_with_imaged11 [2019/07/08 15:19] (current)
matthias [Using only the best rings]
Line 39: Line 39:
 ===== Automatization of this indexing process ===== ===== Automatization of this indexing process =====
  
- ​you ​can copy the commands in a batch file like the idx_0.py we made. +You can copy the commands in a bash file like the idx_0.py we made. 
-In that script, you need to load your gve file (from ImageD11), your parameters file (from ImageD11) and your peaks file (from peaksearch). Don't forget to specify the name of the ouput file. In the line myindexer.parameterobject.set_parameters,​ you can set the indexing parameters (mainly minpks and hkl_tol). To specify ​ the rings you want to use for the indexation, copy the list of peaks from Assign peaks to powder rings in the bloc below rings = [] and enter in that rings = [] list the index of the rings you want to use.+In that script, you need to load your //.gve// file (from ImageD11), your parameters file (from ImageD11) and your peaks file (from peaksearch). Don't forget to specify the name of the output ​file. In the line myindexer.parameterobject.set_parameters,​ you can set the indexing parameters (mainly minpks and hkl_tol). To specify ​ the rings you want to use for the indexing, copy the list of peaks you obtained ​from ''​Assign peaks to powder rings'' ​in the block below rings = [] and enter in that rings = [] list the index of the rings you want to use.
 This script will pair every ring with all the other to index the peaks in grains. ​ This script will pair every ring with all the other to index the peaks in grains. ​
 At the end, it will give you the number of grains it found. Once it is finish, the indexed grains are stored in a ubi file and you can get back the not indexed grains to run idx.py again with more generous parameters and try to found more grains with the left peaks. At the end, it will give you the number of grains it found. Once it is finish, the indexed grains are stored in a ubi file and you can get back the not indexed grains to run idx.py again with more generous parameters and try to found more grains with the left peaks.
Line 128: Line 128:
  
 The idea of this script is to index one phase after another and be able to remove the peaks of the grains indexed. This will avoid reusing already indexed peaks and make the indexing of the weaker phases easier. The idea of this script is to index one phase after another and be able to remove the peaks of the grains indexed. This will avoid reusing already indexed peaks and make the indexing of the weaker phases easier.
 +
 +{{:​processing:​ringselect_before.png?​500|Peaks opened in ImageD11 before ringselect treatment}}
 +{{:​processing:​ringselect_after.png?​500|Peaks opened in ImageD11 after removal of everything except the desired phase (marked by the red ticks)}}
processing/indexing_with_imaged11.1562329633.txt.gz · Last modified: 2019/07/05 12:27 by matthias