1.2.3- Data treatment

For the most common configuration
(Bragg Brentano diffractometer with a diffracted beam monochromator) :

alpha 1-2 doublet correction

background subtraction

Once the pattern cleaned, it can be compared with those inside your databank, expecting for identification.