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.0.tar.gz (29.3 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.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cif2xrd-1.0.0.tar.gz
  • Upload date:
  • Size: 29.3 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.0.tar.gz
Algorithm Hash digest
SHA256 a7dea49bafffa79897fb13d5e68c1a24f6a5b01c24f4e66d1badcab3ec54ad64
MD5 6aa83e66798c5645b234c0acc69d87c6
BLAKE2b-256 4fed0e1e5c67d97f8c9ff189a594c17a31d575383aaac4273c0d154ee12e0801

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cif2xrd-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef9ccbc5d4961092aaea5a31d1507cda7e1db4895e619fcfca3415ff71b9b8e
MD5 5302495446ec878c39d9ee1fd231d4ef
BLAKE2b-256 251f5a8ebcedc5ede2c872c17057c8cbf15c1725b2c6e61f5de16288dd8bd812

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