EDIFF :: processing of electron diffraction patterns
- EDIFF package:
- processes an experimental 2D electron diffractogram (ELD)
- calculates a theoretical X-ray diffractogram (XRD)
- compares ELD and XRD to identify the structure
- Powder vs. monocrystal diffractograms:
- powder/polycrystal diffractograms - finished, working (see examples below)
- monocrystal diffractograms - under development (not fully implemented yet)
- If you use EDIFF in your research, please cite our recent paper:
- Microscopy and Microanalysis 31, 2025, ozaf045.
https://doi.org/10.1093/mam/ozaf045
- Microscopy and Microanalysis 31, 2025, ozaf045.
Principle
Installation
- Prerequisite: Python with sci-modules: numpy, matplotlib, scipy, pandas.
pip install scikit-image= 3rd party package for advanced image processingpip install pymatgen= 3rd package employed in crystallographic calculationspip install bground= our package, interactive background subtractionpip install ediff= EDIFF package itself (uses all packages above)
Quick start
- Worked example shows the EDIFF package in action.
- Help on GitHub with complete package documentation and additional examples.
Additional resources
- PyPI repository - the stable version to install.
- GitHub repository - the current version under development.
- GitHub Pages - the more user-friendly version of GitHub website.
Versions of EDIFF
- Version 0.0 = the 1st draft, testing of {pxrd} module
- Version 0.1 = the 1st functional version with basic documentation
- Version 0.2 = important improvements of {center} module
- Version 0.3 = {calibration} module + various updates + better ediff template
- Version 0.4 = {center} module: better structure + better funcs + saving coords
- Version 0.5 = consolidation of code and documentation - all stable and working
- Version 0.6 = finalization of {center} module
- Version 0.7 = {gcryst} module: geometrical crystallography, zone axes ...
- Version 0.8 = rewrite: {gcryst}, {pxrd ⇒ pcryst} + new: {mcryst}
- Version 0.9 = new: {bkg2d} + improved: {calibration} + better documentation
- Version 1.0 = complete processing of powder diffractograms
- Version 1.1 = improved and simplified interface for {pcryst}
- Version 1.2 = automated background subtraction in 1D {bkg}
- Version 1.3 = TODO: automated background subtraction in 2D {bkg2d}
- Version 1.4 = TODO: automated peak detection in 2D {peaks}
- Version 1.5 = TODO: automated peak identification in 2D, ELD-XRD {mcryst}
- Version 2.0 = TODO: complete processing of powder + monocrystal diffractograms
Acknowledgement
The development was co-funded by TACR, program NCK, project TN02000020.
Metadata
Release files for ediff 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ediff-1.2.0.tar.gz | 78.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ediff-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 159.0 kB
Release files / ediff-1.2.0.tar.gz
| Download URL | ediff-1.2.0.tar.gz |
|---|---|
| Size | 78.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
957cc6eb8ae30d845ddb5fa2837126d316f6470cb11995fdfdc4934806243c72
|
|
BLAKE2b-256 checksum How to use checksums |
725c4fa5fbbbd669f6ea11599f261d1478a7dfb5c609283684875364bbf15377
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / ediff-1.2.0-py3-none-any.whl
| Download URL | ediff-1.2.0-py3-none-any.whl |
|---|---|
| Size | 80.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4dc929aa76c33c5365fa98c1674abbfb5fe87f05a9ceb60a8dc87e2481c1fd16
|
|
BLAKE2b-256 checksum How to use checksums |
7709bbaff683fcff0657e539a18c6df21fddb90fb737ad05713e64f150795177
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for ediff 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.