Skip to main content

X-ray Diffraction Pattern Matching and Crystal Structure Retrieval

Project description

XRetriever

XRetriever is a powerful Python package for X-ray Diffraction (XRD) pattern matching and crystal structure retrieval. It provides state-of-the-art algorithms for matching experimental XRD patterns to crystal structure databases, enabling rapid phase identification and materials characterization.

Core Capabilities

  • Robust Peak Detection: Advanced algorithms with Savitzky-Golay filtering and baseline removal
  • Intelligent Pattern Matching: Hungarian algorithm-based optimal peak assignment
  • Dual Scoring Metrics:
    • Weighted Score: 70% position + 30% intensity similarity
    • FOM (Figure of Merit): ICDD-standard quantitative matching metric
  • Element-Based Filtering: Fast candidate screening by chemical composition
  • Flexible Input: Support for CSV, TXT, and direct peak data input

Advanced Features

  • Combined Scoring Mode: Get both weighted and FOM scores simultaneously
  • Top-N Peak Selection: Automatically extract and normalize the strongest peaks
  • Configurable Tolerances: Adjust position tolerance (default: ±0.2° in 2θ)
  • Comprehensive Results: Detailed matching information with peak-by-peak analysis

Installation

From PyPI (Recommended)

pip install XRetriever

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xretriever-0.1.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xretriever-0.1.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file xretriever-0.1.0.tar.gz.

File metadata

  • Download URL: xretriever-0.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.19

File hashes

Hashes for xretriever-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c63b657827aab0af9f22bf7141c6568c56434cd50a51207e2261347df5725332
MD5 b174ef39040a0709882373f7a74f6f72
BLAKE2b-256 6a13c8ac5b7e10bcd67729f4b6d787a9952abd38cf6764b1c0d18a22901851cf

See more details on using hashes here.

File details

Details for the file xretriever-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xretriever-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.19

File hashes

Hashes for xretriever-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5317c47a02b4f83c15ba320254399e7b9a92ad22174a151d332d7bc3c6eabc66
MD5 c8be8807bcfc7a231c65a0a2f80a71f1
BLAKE2b-256 04d6f195d66e62d8a474002c7a73e439c2b124c8fb93a8771c680e6975191156

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page