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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyixrd-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 f1cc45c61a15474c1e941eb06ed3bf29c2c536c349d7bebff71cf2a6b605cdaf
MD5 b2729b187dbd3a8e7423a67cb1a7edc6
BLAKE2b-256 bfbadddb76513a295f6bc89cd8f9dab0df7fcaf834645c10159942028c9000fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyixrd-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ef8c817bbf70e6c30314a06b91be01d73878a85c7f7ffebb12405ec00fa939a6
MD5 626bc94bc0da967b43694df23e8d8fe7
BLAKE2b-256 a4f87141ced34d477c8d3b65a419ac9feb085bf672ad271507563f3d00595ab2

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