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.1.tar.gz (32.8 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.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cif2xrd-1.0.1.tar.gz
  • Upload date:
  • Size: 32.8 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.1.tar.gz
Algorithm Hash digest
SHA256 069fa0608dc9413bbace0440dfad9fb05f2aa3845898ad955b74d92c49a4e338
MD5 b98f27c96c1c86388cafbd8e1b26ff5a
BLAKE2b-256 0d1b0b81ca9da51bce52f0f3ef1cf4dd69b4535d84c35a13093b4698824e137c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cif2xrd-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79fa0840a4af2cfd1f54be4d44aa2c08ec1439d8896f896273a7d238d1709f96
MD5 e7afaf768a633020efbf215799274f9d
BLAKE2b-256 299f1a2147f63099dbfb46a79c4f6cad1dae4e6727de8000f1512115482871b1

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