Skip to main content

A python package for simulating X-ray powder diffraction patterns from CIF files. Adds peak broadening and phase fraction scaling to existing pymatgen features.

Project description

cif2xrd

A python package for simulating X-ray powder diffraction patterns from CIF files. Adds peak broadening and phase fraction scaling to existing pymatgen features.

The main modules, cif2xrd.pattern and cif2xrd.paramUtils are usable in any python environment >= 3.10 This project is actively being developed with more documentation to follow.

The cif2xrd.originlab module is usable only in the embedded python in OriginLab's OriginPro software. It wraps the main simulation modules into commands that can import simulated data directly into OriginPro, as well as apply useful transformations, like:

  • Dynamically scaling by phase fraction.
  • Adding dynamic X columns in Q-space instead of 2θ.
  • Square or Square-root intensities.
  • Import experimental data in matching format (currently only supported for Rigaku *.RAS file format)

cif2xrd.originlab is specifically designed to work with my Origin-PXRD plugin, which utilizes the module to add dropdown menus and other features to OriginPro.

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

cif2xrd-1.0.2.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

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

cif2xrd-1.0.2-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file cif2xrd-1.0.2.tar.gz.

File metadata

  • Download URL: cif2xrd-1.0.2.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for cif2xrd-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1bce51b4e1e6621a01ef929e95d7af22b31356408a951b542df4fb72b04d89a4
MD5 96338a1d6d8e3b547fac2fa63ab42b75
BLAKE2b-256 28f5c7f42a167511fdc66ef35d9aeb8bdb7bc88a0227b9339147ac32544ae518

See more details on using hashes here.

File details

Details for the file cif2xrd-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cif2xrd-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for cif2xrd-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81719ef2253639671f377066e62a8c606406cccbea8c53f5459f41b963e75798
MD5 b2faa2f2e4ec06b91f61775acd0cc266
BLAKE2b-256 371b79b73f9d8322018947470a16da449c2e192bda0602e17bec69da7c4d17dc

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