Skip to main content

Toolkit for crystal XRD analysis

Project description

pyixrd

What's pyixrd?

A toolkit for crystal XRD analysis.

How to use pyixrd?

You can use it by python as following:

import pyixrd
result=pyixrd.symmetry(data= ,level= ,topk= )

You must abide by the following rules when using the above code:

1.prepare your crystal XRD patterns.

Parameter 'data' should be your XRD pattern file path, and the file only supports .txt format.
The first column in .txt should be 2θ values of the XRD pattern ( 2θ∈[5°, 90°], with a step size of 0.01°, and a total length of 8501). The second column is intensity values corresponding to the 2θ.
A single comma followed by a space is used to sparate each 2θ value from its corresponding intensity value.
Sample data are as follows:
5.0, 0.0
5.01, 0.029
5.02, 6.825
…, …
89.98, 2.899
89.99, 9.767
90.0, 0.0

2.Parameter 'level'

Parameter 'level' should be 'crystal system' or 'space group', it defaults to 'crystal system'.

3.Parameter 'topk'

When level='crystal system', topk should be greater than 0 and less than or equal to 7, it defaults to 3; When level='space group', topk should be greater than 0 and less than or equal to 230, it defaults to 5.

4.The result

The prediction results of TOPK crystal system or space group will be given.

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

pyixrd-0.1.6.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

pyixrd-0.1.6-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file pyixrd-0.1.6.tar.gz.

File metadata

  • Download URL: pyixrd-0.1.6.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyixrd-0.1.6.tar.gz
Algorithm Hash digest
SHA256 8a54ad4535ecfcec9ba5e57c192b1fb5d22ddb1d105b03dd1a8a1341d65943c4
MD5 f5532de4e28135a6e6e508fa82ce7c36
BLAKE2b-256 69ff33b4ad8ace80be5284f1be3e225d24dd2c0ea445ea957f6e800e6a123477

See more details on using hashes here.

File details

Details for the file pyixrd-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pyixrd-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyixrd-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 837b3348d15da1f0dcda96d6dd28a9c1b04fcbe0cbe927049d601ff96a16c9ed
MD5 43dfd04f122b3f0d6739e1e72de46f1c
BLAKE2b-256 784ca5bdc9191fd1cfef61cf94a3423ae667da022fbb8270dd310993927864a2

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