This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
processing:remove-used-flt [2019/07/12 08:46] matthias created |
processing:remove-used-flt [2019/07/12 08:49] (current) matthias |
||
---|---|---|---|
Line 4: | Line 4: | ||
The script ''timelessClearFLTGrains'' is part of the [[software:timelesstools|TIMEleSS tools]]. It takes a list of peaks (//.flt// file), compares it with a [[software:grainspotter|GrainSpotter]] output file (//.log// file), removes all peaks which have already been used and writes the leftover peaks in a new //.flt// file. | The script ''timelessClearFLTGrains'' is part of the [[software:timelesstools|TIMEleSS tools]]. It takes a list of peaks (//.flt// file), compares it with a [[software:grainspotter|GrainSpotter]] output file (//.log// file), removes all peaks which have already been used and writes the leftover peaks in a new //.flt// file. | ||
- | '''' | + | <code> |
usage: timelessClearFLTGrains GSFile, oldFLT.flt newFLT.flt | usage: timelessClearFLTGrains GSFile, oldFLT.flt newFLT.flt | ||
Line 16: | Line 16: | ||
(required) | (required) | ||
newFLT Name of FLT file to be created (required) | newFLT Name of FLT file to be created (required) | ||
- | '''' | + | |
optional arguments: | optional arguments: | ||
-h, --help show this help message and exit | -h, --help show this help message and exit | ||
Line 22: | Line 22: | ||
Write out more details about what it does. Default is | Write out more details about what it does. Default is | ||
Default is False | Default is False | ||
- | '''' | + | </code> |
===== Usage ===== | ===== Usage ===== | ||
Line 31: | Line 31: | ||
- Repeat the GrainSpotter run and merge the output. | - Repeat the GrainSpotter run and merge the output. | ||
- | However, if you are also using the [[processing:remove-used-gve|TIMEleSS tool for removing the G-vectors]] there is no point in doing this. G-vectors directly depend on the FLT grains so if you remove the used G-vectors it has the same effect. In practice this means: You won't get any new grains by this procedure. | + | However, if you are also using the [[processing:remove-used-gve|TIMEleSS tool for removing the G-vectors]] there is no point in doing this. G-vectors directly depend on the FLT grains so if you remove the used G-vectors it has the same effect. In practice this means: You won't get any new grains by doing both removing G-vectors and FLT peaks. |
==== Usage 2 ==== | ==== Usage 2 ==== | ||
- | The other (more realistic) way to use this script is to remove the peaks from the other disturbing phases, such as pressure medium or pressure standard before dealing with the phase you actually want to investigate. Performing [[processing:peaksearch|PeakSearch]] will give you not only the peaks of your phase of interest but also the peaks from anything else (e.g. Pt, KCl, diamond, ...). | + | The other (more realistic) way to use this script is to remove the peaks from the other disturbing phases, such as pressure medium or pressure standard before dealing with the phase you actually want to investigate. Performing [[processing:search_for_peaks|PeakSearch]] will give you not only the peaks of your phase of interest but also the peaks from anything else (e.g. Pt, KCl, diamond, ...). |
During the [[processing:indexing_with_grainspotter|indexing process with GrainSpotter]] the software might get confused by these other peaks and misinterprets them as peaks from the phase of interest. There is a good chance that this produces you a whole lot of erroneous grains in the output later. | During the [[processing:indexing_with_grainspotter|indexing process with GrainSpotter]] the software might get confused by these other peaks and misinterprets them as peaks from the phase of interest. There is a good chance that this produces you a whole lot of erroneous grains in the output later. |