processing:clean-diamond-anvil-cell-data
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| processing:clean-diamond-anvil-cell-data [2019/09/03 17:08] – smerkel | processing:clean-diamond-anvil-cell-data [2026/08/10 10:51] (current) – smerkel | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ===== Shadows ===== | ===== Shadows ===== | ||
| + | |||
| + | Diamond anvil cells have a limited opening and create shadows due to the seat supporting the diamonds. | ||
| + | |||
| + | We we started multigrain crystallography experiments, | ||
| + | |||
| + | As a matter of fact, this is not very useful as there simply nothing in these regions. You can probably leave the shadows as they are. | ||
| ===== Diamond spots removal ===== | ===== Diamond spots removal ===== | ||
| Line 30: | Line 36: | ||
| In addition, you can define a disk, at the center of the image, in which nothing should be removed. This option is for samples with very intense diffraction spots on the inner rings which could be confused with diamond spots based on intensity criteria. | In addition, you can define a disk, at the center of the image, in which nothing should be removed. This option is for samples with very intense diffraction spots on the inner rings which could be confused with diamond spots based on intensity criteria. | ||
| + | |||
| + | ==== Is it necessary ? ==== | ||
| + | |||
| + | If your sample peaks not overlapp with those of diamonds, this is not necessary. You will have extra peaks from the diamonds, which you will not index, and that is all. In many cases, it works just fine. | ||
| + | |||
| + | If diamond spots are a problem, instructions are below. | ||
| ==== Step by step instructions ==== | ==== Step by step instructions ==== | ||
| Line 41: | Line 53: | ||
| Final step: '' | Final step: '' | ||
| - | ==== Detailed | + | ==== Detailed |
| [{{: | [{{: | ||
| Line 61: | Line 73: | ||
| * '' | * '' | ||
| * a threshold of 0.75 (relative units) worked well. | * a threshold of 0.75 (relative units) worked well. | ||
| - | Note that the number of pixels used to grow the mask may be different from the final size of the mask. The final mask will be larger than your settings (there is a scaling applied). | + | Note that the number of pixels used to grow the mask may be different from the final size of the mask. The final mask will be larger than your settings (there is a scaling applied |
| + | |||
| + | As a test, the image below shows the [[processing: | ||
| + | |||
| + | [{{ : | ||
| + | |||
| + | ==== Inpainting ==== | ||
| + | |||
| + | By default, the [[software: | ||
| + | |||
| + | In such case, you can use // | ||
| + | |||
| + | The script will be significantly slower, but gaps will be filled with values matching the mask's surroundings. As a matter of fact, we have had little use of this option but, at least, it is available. | ||
| + | |||
| + | |||
| + | [{{: | ||
| + | [{{ : | ||
processing/clean-diamond-anvil-cell-data.1567523287.txt.gz · Last modified: by smerkel
