User Tools

Site Tools


processing:remove-used-gve

This is an old revision of the document!


Remove Used G-vectors

The script timelessRemoveUsedGVE.py is part of the TIMEleSS tools. It should be combined with GrainSpotter and GrainSpotterMerge.

In the process of grain indexing (usually done with GrainSpotter), you won't index all grains in the first try. Usually, one has to perform several indexing runs. To make life easier (and to cut down calculation time), this script removes all G-vectors which were used already in the previous run. Then you can perform another run with the reduced G-vector file. After that, this process can be repeated until GrainSpotter doesn't index anything anymore.

The downside is that one has to modify the .ini file and the input of timelessRemoveUsedGVE.py before every new run (we are currently working on a script which avoids this). However, it is worth it: Experience says that you can increase the number of indexed grains easily by more than 30 %, simply by repeating the GrainSpotter algorithm. Usually, 5-6 repetitions are enough before GrainSpotter does not find any new grains anymore.

timelessRemoveUsedGVE.py -h
usage: timelessRemoveUsedGVE.py [options] gve_input.log

Reads an indexing log file and generates a set of Euler angles for plotting
with MTex This is part of the TIMEleSS project http://timeless.texture.rocks

optional arguments:
  -h, --help            show this help message and exit
  -l LOGFILE, --logfile LOGFILE
                        File name of the indexing log file (required)
  -i GVE_INPUT, --gve_input GVE_INPUT
                        File name of the input g-vector file (required)
  -o GVE_OUTPUT, --gve_output GVE_OUTPUT
                        Output g-vector file (.gve file)(required)
processing/remove-used-gve.1559656949.txt.gz · Last modified: 2019/06/04 14:02 by matthias