Help Center

Quickly learn how to use MatDiffract and resolve issues you may encounter.

Getting Started

Welcome to MatDiffract! This guide helps you get started with core features and the recommended workflow.

System Overview

MatDiffract (Materials-Informed Intelligent Diffraction Analysis System) is an AI-powered XRD analysis platform that performs search and refinement, providing phase identification, ratio estimation, and structural parameters.

Tip
For first-time use, please sign in. The system supports common formats such as .xy / .txt / .csv / .xlsx, and you can proceed to search and refinement after uploading.

Main Features

Data Upload

Supports XRD data uploads, auto-parses angle and intensity, and validates data.

AI Analysis

Automatically detects diffraction peaks, matches materials databases, and supports single- and multi-phase search.

Refinement & Structure Parameters

Provides Shift / Peak / Ration / Cell refinement steps to optimize lattice parameters and structure.

Reports & History

Export PDF/CIF with one click; analysis and refinement records are saved automatically for review and download.

Video Tutorial

Watch the tutorial to learn the complete workflow from data upload and parameter selection to search analysis and result review.

This is a large video; a stable network is recommended.

Account & Sign-in

MatDiffract uses account authentication to protect uploaded data, analysis history, and refinement results. Use an email address that can reliably receive system messages.

Local Account

Sign in with the username and password created during registration. After sign-in, you can upload data, run analysis, save results, and review records in Personal Center.

Email Verification Codes

Registration and password recovery use email verification codes. The same email is also used for service notices such as missing-system request confirmations.

CSTCloud Single Sign-On

If the CSTCloud entry appears on the sign-in page, you can use institutional single sign-on. On first use, MatDiffract creates or links a local account from the authenticated profile.

Email Recommendation
Some notification features, including missing retrieval-system requests, require an email address. Please keep your email up to date in Personal Center.

Data Upload

Supported File Formats

The system supports the following file formats:

  • .xy - Common XRD format with two columns (angle and intensity)
  • .txt - Text format with various delimiters (space, tab, comma)
  • .csv - CSV format (comma separated)
  • .xlsx - Excel format (two columns: angle and intensity)

Data Requirements

Uploaded data should meet the following requirements:

  1. Files must contain two columns: diffraction angle (2θ) or d-spacing, and intensity
  2. Suggested angle range: 5°–90° (XRD) or a reasonable d-spacing range
  3. Suggested number of data points: 100 to 10,000
  4. Intensity values should be non-negative

Upload Steps

  1. Sign in and open the analysis page
  2. Click “Upload file” or drag files into the upload area
  3. Select your XRD data file(s)
  4. Fill in required parameters such as target and wavelength
  5. Wait for validation and parsing (usually a few seconds)
  6. Confirm the preview and click “Start analysis”

Test Examples

Use these real XRD datasets to run the complete single-phase search and multi-phase identification workflows. Unlike the two-column format template, both files can be uploaded and analyzed directly.

How to use the examples

  1. Download an example and open its corresponding analysis page
  2. Select the element system listed on the example card
  3. Upload the file and keep the recommended Cu target and wavelength
  4. Confirm the spectrum preview, start the analysis, and review the candidates
Result note
Candidate rankings, match scores, and multi-phase ratios may change as the search database and algorithms are updated. These examples verify that the workflow runs successfully; they do not guarantee a fixed ranking or ratio.

Search & Analysis

Overview

The system preprocesses the data, detects feature peaks, searches the database, and returns candidate phase combinations with matching scores.

1. Preprocessing

  • Format check and cleaning
  • Baseline and noise processing
  • Convert 2θ ↔ d-spacing when needed

2. Peak Detection & Candidate Phases

  • Automatically detect main diffraction peaks
  • Match to materials databases and return candidate phase combinations
  • Support single- and multi-phase modes

3. Result Interpretation

  • Candidate phase combinations (Top list)
  • Matched peak count and shifts
  • Enter refinement to optimize results
Analysis Time
A single XRD dataset typically completes in 30 seconds to 2 minutes; complex samples may take longer.

Refinement Workflow

Refinement further corrects spectra and structural parameters to improve matching accuracy. The system provides a visual workflow and parameter panels.

Step 1: Instrument Shift Correction

  • Automatically estimate overall peak shift
  • Manually fine-tune to align spectra

Step 2: Peak Profile Parameters

  • Optimize U/V/W/n peak profile parameters
  • Improve peak width and shape match

Step 3: Ratio Refinement (multi-phase)

  • Refine ratios for each phase in multi-phase samples
  • Support manual ratio input with live preview

Step 4: Lattice Parameters (Cell)

  • Optimize a/b/c/α/β/γ lattice parameters
  • Supports both single- and multi-phase adjustments

Step 5: Atomic Positions (optional)

  • Refine atomic positions
  • Further optimization for high-quality data
Refinement Output
After refinement, export PDF reports and CIF structures. Results are saved in Personal Center.

Personal Center

Personal Center manages uploaded data, analysis results, and refinement records in one place.

  • View uploaded data and spectrum previews
  • View analysis results and candidate phases
  • View refinement parameters and ratio results
  • Download raw CSV data, PDF reports, and CIF structures

Update History

Recent platform updates are summarized below.

2026-05-31
Database Coverage

Missing PG System Request Reporting

When a selected element system is not yet covered by the retrieval database, MatDiffract records the request and sends confirmation emails for follow-up table generation.

2026-05-29
Analysis Pages

Improved Single- and Multi-Phase Workflows

Element selection, file upload, asynchronous progress, and result presentation were refined for a smoother analysis flow.

2026-05-27
Platform Experience

Navigation, Footer, and Personal Center Updates

Navigation and contact information were aligned across pages, improving access to personal data, reports, and history records.

FAQ

Q1: What should I do if I get a format error after upload?

A: Please check the following:

  • Ensure the file contains two columns (angle and intensity)
  • Check that file encoding is UTF-8
  • Confirm the delimiter is correct (space, tab, or comma)
  • If the issue persists, try converting to .xy format

Q2: What if the analysis results are inaccurate?

A: Possible causes and solutions:

  • Data quality: ensure good signal-to-noise ratio
  • Angle range: ensure sufficient diffraction angle coverage
  • Multi-phase mixtures: the system may not identify all phases; check lower-ranked candidates
  • Database coverage: some materials may not be included; try manual search

Q3: Why is there a large difference between fitted and sample spectra?

A: Confirm the domain (2θ or d-spacing) and wavelength are consistent. Incorrect candidate phases can also cause large differences.

Q4: How do I export refinement results?

A: Export PDF reports and CIF structures in the refinement page. History is also available in Personal Center.

Q5: Is it normal that a multi-phase ratio is 0%?

A: The phase may contribute negligibly or be absent. Adjust ratios during refinement and observe the fit changes.

Q6: Which browsers are supported?

A: The latest versions of the following browsers are supported:

  • Google Chrome (recommended)
  • Mozilla Firefox
  • Microsoft Edge
  • Safari

Contact Us

If you encounter issues or have suggestions, please contact us via the following channels:

Email

Send email to: matdiffract@ihep.ac.cn

Feedback
We value your feedback. If you find issues or have feature suggestions, please reach out. Your input helps us improve the system.