User Tools

Site Tools


processing:backgroundgeneral

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
processing:backgroundgeneral [2019/09/04 17:02]
smerkel
processing:backgroundgeneral [2019/09/05 12:55] (current)
smerkel
Line 23: Line 23:
 The diffraction from the //sample grains//, that give rise to well-defined diffraction spots are removed and **//do not contribute//​** to the median image! The diffraction from the //sample grains//, that give rise to well-defined diffraction spots are removed and **//do not contribute//​** to the median image!
  
-Creating an average image can be done with [[xray_data:​averagemanyedf|timelessMeanFileSeries]] which is part of the [[software:​timelesstools|TIMEleSS tools]]. Creating the median can be done with ''​median.py''​ which comes with [[software:​fabian|Fabian]].+Creating an average image can be done with [[xray_data:​averagemanyedf|timelessMeanFileSeries]] which is part of the [[software:​timelesstools|TIMEleSS tools]]. Creating the median can be done with ''​median.py''​ which comes with [[software:​fabian|Fabian]]. You can also calculate median and average images with [[software:​imagemath|ImageMath]] but we have not used it in a while. There is an issue with file formats.
  
 The median image is less affected by outliers than the average and is probably a better representation of your background. For some purposes you might still need to use the average image. The median image is less affected by outliers than the average and is probably a better representation of your background. For some purposes you might still need to use the average image.
Line 35: Line 35:
  
 You will be able to visualize the effect you the background subtraction and whether your evaluation is satisfactory. You will be able to visualize the effect you the background subtraction and whether your evaluation is satisfactory.
 +
 +Typically, subtracting the ω-median from a single ω-step diffraction image will be efficient at removing
 +  * noise, from the detector, the source, etc
 +  * diffraction from anything within the path of the x-ray beam, which is not your sample, as long as it is in the form of a powder,
 +  * diffraction from the smaller sample grains (i.e. a fine matrix), that does not show up as well-defined diffraction spots but rather continuous diffraction rings.
 +
 +It will not work, however, for complex environments such as diamond anvil cells for which the diamond anvils give rise to strong and well defined diamond diffraction spots.
  
  
processing/backgroundgeneral.1567616521.txt.gz · Last modified: 2019/09/04 17:02 by smerkel