software:fitallb
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:fitallb [2020/01/14 16:26] – matthias | software:fitallb [2020/04/08 10:09] (current) – [Evaluating the results] matthias | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| ===== Usage ===== | ===== Usage ===== | ||
| - | ==== Running FitAllB | + | ==== Prerequisites |
| '' | '' | ||
| * the GrainSpotter output file ('' | * the GrainSpotter output file ('' | ||
| Line 44: | Line 44: | ||
| * optionally, a //res// file, but i don't really know what that is so I don't use it; | * optionally, a //res// file, but i don't really know what that is so I don't use it; | ||
| * the input file ('' | * the input file ('' | ||
| + | |||
| + | It furthermore requires // | ||
| The input file should have this look : | The input file should have this look : | ||
| Line 86: | Line 88: | ||
| </ | </ | ||
| + | ==== Modifying the parameters ==== | ||
| + | Now, about the parameters of the refinement, these are the four lines starting with '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | ==== Running the refinement ==== | ||
| Edit this input file to your purposes (modify file names, experimental conditions, crystallographic info, ...) and then type this to your command line: | Edit this input file to your purposes (modify file names, experimental conditions, crystallographic info, ...) and then type this to your command line: | ||
| - | '' | + | |
| As a result, //FitAllB// will run several fits in the terminal and if it succeeds to refine your grains, it will finish with '' | As a result, //FitAllB// will run several fits in the terminal and if it succeeds to refine your grains, it will finish with '' | ||
| Line 98: | Line 112: | ||
| The '' | The '' | ||
| - | Now, about the parameters of the refinement, these are the four lines beginning by rej_ and the min_refl line (maybe also the tol_grain line but it didn' | + | === Reported crashs === |
| - | + | * __maximum call reached__: Happens when //FitAllB// needs too much refinement | |
| - | rej_ia | + | * __singular matrix__: Mean that fitallb does not have enough information on a grain to refine stress tensor. But same as before, decrease your //rej_ia//, //rej_vol// or increase // |
| - | + | * __ValueError: | |
| - | rej_vol | + | * Issues with the CIF file: Tip: If one (or multiple) of the following errors occur over and over again and you don't know what causes the error, there' |
| - | + | ||
| - | rej_resmean | + | |
| - | min_refl is the minimum number of peaks you need to validate a grain. As it is a refinement step, during each run the grains will loose the 'bad' | + | loop_ |
| + | _atom_type_symbol | ||
| + | _atom_type_description | ||
| + | | ||
| + | ' | ||
| + | ' | ||
| - | === reported crashs === | + | |
| - | | + | * CIF-file issue: __KeyError: u'No such item: _atom_type_symbol' |
| - | * "maximum call reached" : happen | + | * CIF-file issue: __UnboundLocalError: |
| - | * " | + | * CIF-file issue: __KeyError: u' |
| + | * CIF-file issue: __UnboundLocalError: | ||
| + | * __TypeError: ' | ||
| + | * __LinAlgError: Singular matrix__ Use the same strategy | ||
| ==== Fitgloball ==== | ==== Fitgloball ==== | ||
| - | fitgloball.py is a script linked to fitallb | + | '' |
| - | It is working the same way as fitallb, with the same input file, just change d0 to 1 instead of 0 to ask the script to refine the cell parameters. | + | It is working the same way as //FitAllB//, with the same input file, just change |
| - | A good advice to use it to refine cell parameters is to index grains with only the lowest tth (where it's easy for GrainSpotter to index peaks) and then use fitgloball | + | A good advice to use it to refine cell parameters is to index grains with only the lowest tth (where it's easy for GrainSpotter to index peaks) and then use // |
software/fitallb.1579015589.txt.gz · Last modified: by matthias
