Convert 4D-STEM data to a single powder diffraction pattern.
Project description
STEMDIFF :: simple processing of 4D-STEM data
- The STEMDIFF package converts...
... a 4D-STEM dataset from a SEM microscope (huge and complex)
... to a powder-like 1D diffraction pattern (simple and easy to work with). - The STEMDIFF package is a key part of our 4D-STEM/PNBD method,
which was described (together with the package) in open-access publications:- publication 1: Nanomaterials 11 (2021) 962. https://doi.org/10.3390/nano11040962
- publication 2: Nanomaterials, submitted.
- Gentle introduction to 4D-STEM/PNBD and STEMDIFF
- Now: See the above-mentioned publication (namely the not-yet-existing #2).
- Future: Better documentation = next version of the package (coming soon).
Typical usage of STEMDIFF package
- STEMDIFF empoyes Spyder IDE as UI (user interface).
- This may be slightly non-standard, but it is very efficient.
- Spyder is easy-to-use and easy-to-install (pip install spyder).
- Spyder shows program run, text and graphical outputs simultaneously.
- In a typical STEMDIFF session, you do just three things:
- In Spyder, open STEMDIFF master script.
- In the opened master script, modify a few parameters and run it.
- See program outputs in Spyder and final outputs in active directory
- Obtaining master script & simple testing of STEMDIFF package:
- open the directory where stemdiff is installed
- open subdirectory demo + unzip the files into testing directory
- follow the instructions in the unzipped file 00_readme.txt
Brief history of STEMDIFF package
- Version 1.0 = Matlab: just simple summation of 4D-dataset
- Version 2.0 = like v1.0 + post-processing in Jupyter
- Version 3.0 = Python scripts: summation + S-filtering
- Version 4.0 = Python package: summation + S-filtering + deconvolution
- summation = summation of all 2D-diffractograms
- S-filtering = sum only diffractograms with strong diffractions = high S
- deconvolution = reduce the effect of primary beam spread → better resolution
- Version 4.2 = like v4.0 + a few important improvements, such as:
- sum just the central region with the strongest diffractions - higher speed
- 3 centering types: (0) geometry, (1) weight of 1st, (2) individual weights
- better definition of summation and centering parameters
- improved master script/teplate + better documentation strings
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stemdiff-4.2.2.tar.gz
(20.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
stemdiff-4.2.2-py3-none-any.whl
(21.6 kB
view details)
File details
Details for the file stemdiff-4.2.2.tar.gz.
File metadata
- Download URL: stemdiff-4.2.2.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aff3d1dae8815d81ed5fbf7eef0f64cdb55049ef996bdfbac6d55ebf1dedfaf7
|
|
| MD5 |
6c1b07baef56fcce063b20992c1a6b9f
|
|
| BLAKE2b-256 |
4253c4fd875998fbb3556e644afd800e2b2bf3d8dc9a12c6f74138145ad8a23c
|
File details
Details for the file stemdiff-4.2.2-py3-none-any.whl.
File metadata
- Download URL: stemdiff-4.2.2-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
822d5d6e8b392affee5be7949491af105cab1fce20d1f5fe61496f71114d7b1e
|
|
| MD5 |
c46bb8431a25c064244914a0171a94f2
|
|
| BLAKE2b-256 |
1bba217dc03cf6e29703717ced2ea4653761d9dd40292de8aa44d43e92f5804a
|