processing:synthetic_dataset
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| processing:synthetic_dataset [2018/06/23 17:02] – ↷ Links adapted because of a move operation matthias | processing:synthetic_dataset [2019/02/23 20:43] (current) – [Input file example 3: olivine from a CIF file] estelle | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Creation of the synthetic dataset ====== | ====== Creation of the synthetic dataset ====== | ||
| - | Synthetic data sets are useful to learn how to process data. You can input the experimental parameters you will use in your actual experiment and your actual sample. The software to do so is [[software: | + | Synthetic data sets are useful to learn how to process data. You can input the experimental parameters you will use in your actual experiment and your actual sample. The software to do so is [[software: |
| + | |||
| + | For high pressure experiments, | ||
| + | |||
| + | The simulation will provide 2D diffraction images but also G-vectors, inverse UB matrices (UBi) for all grains, and some more files. You will get at least 7 different files from the simulation as well as the diffraction images. The amount of diffraction images depends on the ω range and the step size defined in the input file. For example, a ω range Δω = [-28°; | ||
| ===== Basic usage ===== | ===== Basic usage ===== | ||
| Line 13: | Line 17: | ||
| Input file can include a collection of parameters. Information on the input parameters can be found here [[https:// | Input file can include a collection of parameters. Information on the input parameters can be found here [[https:// | ||
| - | ==== Input file example | + | ==== Input file example |
| Here are input files for simulating an experiment at the P02.2 beamline in PETRA | Here are input files for simulating an experiment at the P02.2 beamline in PETRA | ||
| Line 31: | Line 35: | ||
| The full input file is here [[fileformat: | The full input file is here [[fileformat: | ||
| - | ==== Input file example 2 ==== | + | ==== Input file example 2: 10 grains of post-perovskite with spreading of peaks ==== |
| This second input file is the same experiment as previous but | This second input file is the same experiment as previous but | ||
| Line 41: | Line 45: | ||
| Computations are much longer. Expect 1 minute per image. 2 hours for 112 images. | Computations are much longer. Expect 1 minute per image. 2 hours for 112 images. | ||
| + | |||
| + | ==== Input file example 3: olivine from a CIF file ==== | ||
| + | |||
| + | This third example is a test of calculation from a [[fileformat: | ||
| + | |||
| + | Our problem was that the widely used space group for olivine, //Pbnm//, do not have a space groupe number and we need a space group number for the index.ini input file for GrainSpotter. So we use a CIF file to translate the crystallographic properties of olivine from //Pbnm// to //Pnma// an other space group used for olivine which does have a space group number. | ||
| + | |||
| + | The transformation from //Pbnm// to//Pnma// is not complicated, | ||
| + | * a (Pbnm) -> c (Pnma) | ||
| + | * b (Pbnm) -> a (Pnma) | ||
| + | * c (Pbnm) -> b (Pnma) | ||
| + | But we need to specify it to PolyXSim in order to have the good symetry of the olivine, and hence, the good corresponding diffraction peaks. | ||
| + | |||
| + | First get a //Pbnm// CIF file from the American Mineralogist crystal structure database and transform it to have a CIF file for //Pnma// space group. In order to do so, only change the cell length on each axes (// | ||
| + | |||
| + | [[fileformat: | ||
| + | |||
| + | Then, before the simulation of your data, in the .inp file for PolyXSim you should put a # before the space group line and make the structure_phase_0 line active. You should have : | ||
| + | |||
| + | < | ||
| + | ### Structural | ||
| + | unit_cell | ||
| + | #sgno 62 #space group number | ||
| + | #oR | ||
| + | # | ||
| + | #or | ||
| + | structure_phase_0 ' | ||
| + | </ | ||
| + | |||
| + | Do not forget to change the order of the axes in the unit_cell line of PolyXSim as well! | ||
| + | |||
| + | From here, PolyXSim simulate grains in the //Pnma// system so the peaks you obtain (and then the G-vectors) are in //Pnma//. Be carefull when comparing with other studies for which the //Pbnm// system is more common! Use the space group number 62 in the .ini file of GrainsPotter to find the grains from these Pnma G-vectors. | ||
| ==== Remarks ==== | ==== Remarks ==== | ||
| Line 50: | Line 86: | ||
| ===== Output files ===== | ===== Output files ===== | ||
| - | There are a number of possible output files from this procedure. Possible output files include: | + | There are a number of possible output files from this procedure. |
| + | |||
| + | The time consuming process is the creation of synthetic diffraction images. This time highly depends on the parameters in the input file, e.g. the amount of grains, the peak shape, strain tensors, or additional noise. For a simple test, it is wise to use an input file with very simple parameters (only a few grains, no strain tensors, no noise, small ω range etc.). | ||
| + | |||
| + | Possible output files include: | ||
| * [[fileformat: | * [[fileformat: | ||
| * [[fileformat: | * [[fileformat: | ||
| - | * [[fileformat: | + | * [[fileformat: |
| - | * [[fileformat: | + | * [[fileformat: |
| - | * [[fileformat: | + | * [[fileformat: |
| - | * [[fileformat: | + | * [[fileformat: |
| * [[fileformat: | * [[fileformat: | ||
| * [[fileformat: | * [[fileformat: | ||
| - | * [[fileformat: | + | * [[fileformat: |
processing/synthetic_dataset.1529766139.txt.gz · Last modified: (external edit)
