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.3.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.3-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cif2xrd-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 46ac300e7e9e521de25802be2c278342420440c7e5d1416696fd054618eab607
MD5 dfa623784736899156ef06becb279346
BLAKE2b-256 f5adde9318ee37670ebb2daf7ce9589bd0c83149e316d77a8e40e2c1d6b29ca7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cif2xrd-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fad5b52641b4cc058b858acde13932332c6237f4828e5e4c60a9ff392d501012
MD5 c4bbab32681e764e5918cc78f2bb5367
BLAKE2b-256 c78dcca3a09476a40d72f0b7864f4ed0abb38e2b6e7fedcad139d3a37e697ff0

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