processing:remove-used-gve
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| processing:remove-used-gve [2019/06/04 16:32] – matthias | processing:remove-used-gve [2020/11/10 09:56] (current) – smerkel | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The script '' | + | In the [[processing:indexing_with_grainspotter|process of grain indexing]] (usually done with [[software: |
| - | In the [[processing: | + | The downside is that one has to modify the //.ini// file and the input of this tool 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 downside is that one has to modify | + | For historical reasons, there are two competing TIMEleSS tools for this task, '' |
| + | |||
| + | ==== timelessClearGVEGrains ==== | ||
| + | |||
| + | < | ||
| + | timelessClearGVEGrains | ||
| + | usage: timelessClearGVEGrains GSFile oldGVE.gve newGVE.gve | ||
| + | |||
| + | Creates a new list of g-vectors, removing g-vectors which have already been | ||
| + | assigned | ||
| + | http://timeless.texture.rocks | ||
| + | |||
| + | positional arguments: | ||
| + | gsfile | ||
| + | oldGVE | ||
| + | newGVE | ||
| + | |||
| + | optional arguments: | ||
| + | -h, --help | ||
| + | -v VERBOSE, --verbose VERBOSE | ||
| + | Write out more details about what it does. Default is | ||
| + | Default is False | ||
| + | -s SKIPBOGUS, --skipbogus SKIPBOGUS | ||
| + | Skip bogus grains in GrainSpotter output. Default is | ||
| + | Default is False | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== timelessRemoveUsedGVE.py ==== | ||
| + | |||
| + | The script | ||
| < | < | ||
| Line 30: | Line 60: | ||
| ===== Usage ===== | ===== Usage ===== | ||
| - | You should start with a G-vector | + | ==== General workflow ==== |
| + | Repeat these steps several times: | ||
| + | - Run GrainSpotter | ||
| + | - Run the G-vector | ||
| + | - Change your //.ini// file ('' | ||
| - | Run GrainSpotter and then this script. The output will then be a new G-vector file. After running this script for the first time, you may have these files: | + | You should continue repeating the steps until GrainSpotter doesn' |
| + | |||
| + | ==== Example ==== | ||
| + | You should start with a G-vector file from ImageD11. Let's call it **gvectors.gve**. | ||
| + | |||
| + | Run GrainSpotter | ||
| * **gvectors.gve** (//.gve// file from [[software: | * **gvectors.gve** (//.gve// file from [[software: | ||
| * **gvectors_1.gve** (//.gve// file from timelessRemoveUsedGVE.py) | * **gvectors_1.gve** (//.gve// file from timelessRemoveUsedGVE.py) | ||
| * **logfile.log** (//.log// file from [[software: | * **logfile.log** (//.log// file from [[software: | ||
| - | Next, you have to change your //.ini// file so that it is referring to **gvectors_1.gve** instead of **gvectors.gve**. Also, change the output file so it does not overwrite the existing //.log// file. Then, run GrainSpotter again. You will see, it will be faster this time but still find some grains. | + | Next, you have to change your //.ini// file (//step 3//) so that it is referring to **gvectors_1.gve** instead of **gvectors.gve**. Also, change the output file so it does not overwrite the existing //.log// file. |
| - | Now, after the second run, you may have a file collection like this: | + | Then, run GrainSpotter again (//step 1//). You will see, it will be faster this time but still find some grains. |
| + | |||
| + | Now, after the second | ||
| * **gvectors.gve** (//.gve// file from [[software: | * **gvectors.gve** (//.gve// file from [[software: | ||
| * **gvectors_1.gve** (//.gve// file from the first G-vector removal) | * **gvectors_1.gve** (//.gve// file from the first G-vector removal) | ||
| Line 45: | Line 86: | ||
| * **logfile_1.log** (//.log// file from the second [[software: | * **logfile_1.log** (//.log// file from the second [[software: | ||
| - | Running '' | + | Running '' |
| + | |||
| + | ==== Merging the output ==== | ||
| - | And so on and so on... | + | Use [[processing: |
processing/remove-used-gve.1559658736.txt.gz · Last modified: by matthias
