processing:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| processing:start [2019/06/07 17:11] – matthias | processing:start [2019/06/07 18:00] (current) – [Workflow: Getting a list of grains and their orientations] matthias | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| {{ :: | {{ :: | ||
| - | ===== Workflow for getting grains and their orientations (outline) | + | ===== Data collection |
| - | The goal of this workflow | + | Usually, the data is collected in synchrotron facilities by stepwise rotating |
| - | - Perform a calibration to obtain | + | |
| - | - If necessary, convert your series of images to //EDF// format (click [[xray_data:convertfileseries|here]] for further information on that). | + | |
| - | - Have a closer look at your images (with [[software: | + | |
| - | - Create median and average images. | + | |
| - | - Refine the average image with any refinement software (for example, [[software: | + | |
| - | - Remove diamond spots (and shadow). | + | |
| - | - Perform a [[software: | + | |
| - | - In [[software: | + | |
| - | - With the calculated g-vectors the grains will now be indexed, using [[software: | + | |
| - | ===== Workflow | + | ===== Workflow: Training with simulated data ===== |
| - | <WRAP center round tip 60%> | + | Starting |
| - | The following chapter deals with the actual | + | |
| - | </ | + | |
| - | ==== Calibration | + | But even when you are working with real data, you can compare your results with the outcome |
| - | ... | + | |
| - | ==== Conversion of the file series to EDF ==== | + | [[processing:workflow_training|Click here to train your workflow |
| - | Most of the used [[software:start|software]] can work only with [[fileformat: | + | |
| - | ==== Remove bad images | + | ===== Workflow: Find out the phases in your sample and their cell parameters ===== |
| - | The removal and exchange of bad images | + | This step is actually |
| - | **What is a bad image and why do they have to be removed? | + | |
| - | A bad image is one where you have artefacts which cannot be removed by any software. Frequent examples are : | + | |
| - | {{ : | + | ===== Workflow: Getting |
| - | + | This workflow will provide | |
| - | While the simulation is running you can already look at the images, which are already created. For this, open a new tab in the Konsole and open Fabian: | + | |
| - | fabian.py | + | |
| - | + | ||
| - | This is convenient because you can already see at this point if your simulation works. And in case it does not, you can stop the simulation process right now and you don't need to wait until all images are created, which can take very long time. While you're at it, check also the O-matrix. You find it in Fabian under //Image// --> // | + | |
| - | + | ||
| - | ==== Working on background | + | |
| - | To get rid of the background we now add up all the diffraction images and calculate an average and a median image. Then, every image is subtracted by this average/ | + | |
| - | + | ||
| - | For calculating the average and median you use [[software:imagemath|Image Math]]. Type to the Konsole: | + | |
| - | image_math_petra 'name stem of the .edf file' 'first image number' | + | |
| - | or | + | |
| - | ./ | + | |
| - | + | ||
| - | For more information on which syntax you should use, check the [[software: | + | |
| - | * Image //m1// is the **average** image | + | |
| - | * Image //m2// is the **median** image | + | |
| - | * Image //m3// is the **??** image | + | |
| - | + | ||
| - | Next, the actual images have to be subtracted by one of these three images. Usually the m2 image (median) is used for this, because it is less affected by outliers. Before you do this, make sure you have a separate folder to avoid mixing up the actual data with the processed data! Raw data should never be modified! | + | |
| - | + | ||
| - | Look at the images in Fabian, go to //Image// --> // | + | |
| - | + | ||
| - | ==== Peak extraction | + | |
| - | + | ||
| - | From these processed images | + | |
| - | + | ||
| - | When you defined one (or more) threshold(s) you can start the [[software: | + | |
| - | peaksearch.py -n ../' | + | |
| - | + | ||
| - | To check the outcome | + | |
| - | + | ||
| - | ==== Experimental parameters ==== | + | |
| - | + | ||
| - | From these peaks you can now fit the experimental parameters. To do this, open [[software: | + | |
| - | ImageD11_gui.py | + | |
| - | To load the PeakSearch file click on // | + | |
| - | + | ||
| - | Before you check the plots you should enter the measurement parameters. Go to // | + | |
| - | + | ||
| - | Next you can have a look at the //tth/eta plot//. Most of the peaks should appear to be on imaginary vertical lines. Zoom in and check, if these lines are completely vertical. If not, you might have strain in your sample. If the line looks like a sinus curve of exactly one period this is due to a wrong beam center. To fix this, go back to //Edit parameters// | + | |
| - | + | ||
| - | At some point you can click on // | + | |
| + | ===== ... ===== | ||
| + | More to come ... | ||
processing/start.1559920288.txt.gz · Last modified: by matthias
