GPU-accelerated dynamical EBSD master-pattern simulation.
Project description
ebsdsim
ebsdsim computes Lambert-projected Kikuchi master patterns from crystal structures
using multi-beam dynamical electron diffraction on the GPU (WebGPU). Patterns are
written as raw intensities in compressed .npz files; display scaling is applied
when you load them.
User documentation is at ebsdsim.readthedocs.io.
Installation
pip install ebsdsim
Simulations require a WebGPU adapter. See the installation guide for Python version support, GPU drivers, and editable installs.
Quick start
import ebsdsim as es
mp = es.master_pattern_from_cif(
"GaN.cif",
voltage_kv=20.0,
halfw=250,
sigma_deg=70.0,
)
mp.save("GaN-master-pattern.npz")
Bundled presets: GaN.cif, Ni.cif. See
examples/01_quick_start.ipynb.
Documentation
Development and releases: CONTRIBUTING.md.
License
MIT — see LICENSE.
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
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
File details
Details for the file ebsdsim-0.1.8.tar.gz.
File metadata
- Download URL: ebsdsim-0.1.8.tar.gz
- Upload date:
- Size: 775.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f15b529fabc9e1529eb1f7fe238cdd363c8c50d88ea686c57e49c85dff284bd5
|
|
| MD5 |
6af635da3cf9a3627f780c8126a9eb97
|
|
| BLAKE2b-256 |
44b77e212d87dc38c668bc1552e1d233b8b6caa02e0c8e11e1f92318336ffbb7
|
Provenance
The following attestation bundles were made for ebsdsim-0.1.8.tar.gz:
Publisher:
release.yml on ZacharyVarley/ebsdsim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ebsdsim-0.1.8.tar.gz -
Subject digest:
f15b529fabc9e1529eb1f7fe238cdd363c8c50d88ea686c57e49c85dff284bd5 - Sigstore transparency entry: 1952865827
- Sigstore integration time:
-
Permalink:
ZacharyVarley/ebsdsim@26c2050e3addba4aff03ba37b3415d48fdeddf92 -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ZacharyVarley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26c2050e3addba4aff03ba37b3415d48fdeddf92 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ebsdsim-0.1.8-py3-none-any.whl.
File metadata
- Download URL: ebsdsim-0.1.8-py3-none-any.whl
- Upload date:
- Size: 364.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a8056c856daafb91d088ba0dc68c32e967a666050ae94bba533da98344b993b
|
|
| MD5 |
a3f8a6ac2a97c9c8b31660c87eabef97
|
|
| BLAKE2b-256 |
594c36dfe8a1ce766c0f7184ab3d29d44c13e6fc6ac0d0f23ce47920e0260250
|
Provenance
The following attestation bundles were made for ebsdsim-0.1.8-py3-none-any.whl:
Publisher:
release.yml on ZacharyVarley/ebsdsim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ebsdsim-0.1.8-py3-none-any.whl -
Subject digest:
8a8056c856daafb91d088ba0dc68c32e967a666050ae94bba533da98344b993b - Sigstore transparency entry: 1952866090
- Sigstore integration time:
-
Permalink:
ZacharyVarley/ebsdsim@26c2050e3addba4aff03ba37b3415d48fdeddf92 -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ZacharyVarley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26c2050e3addba4aff03ba37b3415d48fdeddf92 -
Trigger Event:
push
-
Statement type: