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/22 17:10] – ↷ Page moved from synthetic_dataset to processing:synthetic_dataset smerkel | 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 [[PolyXSim|PolyXSim]] | + | 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 29: | Line 33: | ||
| * very sharp peaks | * very sharp peaks | ||
| - | The full input file is here [[processing: | + | The full input file is here [[fileformat:inp:basic|simu-ppv-basic.inp]] |
| + | |||
| + | ==== Input file example 2: 10 grains of post-perovskite with spreading of peaks ==== | ||
| + | |||
| + | This second input file is the same experiment as previous but | ||
| + | * peak shapes are set to Gaussian with 0.02° spread in 2θ, 0.5° in η and 0.5° in ω | ||
| + | * A background with noise. | ||
| + | This second dataset is more difficult to process. You will really need to work on your background to get it to work. | ||
| + | |||
| + | The full input file is here [[fileformat: | ||
| + | |||
| + | 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 ==== | ||
| Here are typical errors that we bumped into | Here are typical errors that we bumped into | ||
| - | * Be careful of the intensity (beamflux). Should be in the order of 10e< | + | * Be careful of the intensity (beamflux). Should be in the order of 10< |
| * Check the name of the parameter for the space group number (sgno) or space group symbol (sgname). | * Check the name of the parameter for the space group number (sgno) or space group symbol (sgname). | ||
| + | |||
| ===== Output files ===== | ===== Output files ===== | ||
| + | There are a number of possible output files from this procedure. Most are usually created quite fast. | ||
| - | Possible output parameters: | + | The time consuming process is the creation of synthetic |
| - | + | ||
| - | ' | + | |
| - | ' | + | |
| - | ' | + | |
| - | '.gve' - a g-vector file. Where the peaks are transformed into scattering vectors (g-vectors). This file can be used for indexing in either GrainSpotter | + | |
| - | '.ini' - an input file for indexing | + | |
| - | ' | + | |
| - | '.par' - the input parameters for PolyXSim written in the par format of ImageD11 | + | |
| - | ' | + | |
| - | + | ||
| + | Possible output files include: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
| + | * [[fileformat: | ||
processing/synthetic_dataset.1529680236.txt.gz · Last modified: (external edit)
