Guided workflow

Remove XRD Background Before Peak Analysis

Subtract a slowly varying XRD background before peak analysis while preserving real diffraction features. NotyPlot provides baseline-processing options so the corrected curve can be compared with the original rather than accepted blindly.

  • NotyPlot
  • XRD
  • 6 steps

Method NotyPlot

Start with An XRD intensity-versus-angle pattern with a background that needs review.

  1. Import and inspect the pattern
  2. Open background subtraction
  3. Choose a baseline method
  4. Compare original and corrected data
  5. Refine the correction
  6. Continue with the reviewed pattern

Result A reviewed background-corrected pattern ready for peak detection.

Figure 1. The workflow at a glance: what you start with, the steps, and what you leave with.

Before you start

  • An XRD pattern with correctly mapped angle and intensity columns.
  • A visible reason for background correction rather than applying it by default.
  • The original unprocessed pattern for side-by-side review.

Your workflow

Step-by-step workflow

  1. Import and inspect the pattern

    Import the XRD data and inspect the raw background across the full scan range.

  2. Open background subtraction

    Open data preparation and enable background subtraction.

  3. Choose a baseline method

    Choose an available baseline method and inspect how it follows slowly varying background regions.

  4. Compare original and corrected data

    Compare corrected and original curves around weak, broad and overlapping features.

  5. Refine the correction

    Adjust or reject the correction if meaningful signal is flattened, inverted or distorted.

  6. Continue with the reviewed pattern

    Continue to peak detection or fitting only after the corrected pattern remains scientifically plausible.

Final quality check

  • The baseline follows background rather than diffraction peaks.
  • Broad or weak features remain visible when they should.
  • No large negative artifacts are introduced by over-subtraction.
  • The original pattern is retained for comparison and reporting.
  • Report background correction when it affects peak positions, areas or widths.
  • Use the same processing rule when comparing similarly acquired samples.
  • Recheck downstream FWHM and area results after changing the baseline method.

Scientific notes

  • Background estimation is model-dependent and can alter weak or broad features.
  • Removing background does not correct instrumental broadening or Kα effects.
  • No baseline algorithm can distinguish background from real broad scattering perfectly without scientific context.

Common questions

Should every XRD pattern have its background removed?

No. Apply correction when the background interferes with the analysis and verify the corrected curve against the original.

Can background subtraction change FWHM?

Yes. An inappropriate baseline can change the fitted peak shape and width, so inspect fitting results after any baseline change.

Is background removal the same as smoothing?

No. Baseline subtraction estimates a slowly varying background, while smoothing changes local noise behavior. They have different purposes and risks.

Prepare an XRD pattern

Prepare your input and follow the guided steps in NotyPlot.