Skip to main content

ebsdsim — dynamical EBSD master patterns

ebsdsim

CI Documentation Python License: MIT

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,  # 501×501 raster; the default 500 gives 1001×1001
    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.

Metadata

Release files for ebsdsim 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ebsdsim 0.2.4
File Size Uploaded
ebsdsim-0.2.4.tar.gz 916.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ebsdsim 0.2.4
File Interpreter ABI Platform
ebsdsim-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / ebsdsim-0.2.4.tar.gz

Download URL ebsdsim-0.2.4.tar.gz
Size 916.0 kB
Tags Source
SHA-256 checksum
How to use checksums
43ab2c624b8b2861b13476241e1ed8bc94d2a35e2ee7b643f88626eec6f9d84b
BLAKE2b-256 checksum
How to use checksums
5638fcb5c0f1caf41e3c5adc6b918c782c6a5670af19ea1894e461828105df9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / ebsdsim-0.2.4-py3-none-any.whl

Download URL ebsdsim-0.2.4-py3-none-any.whl
Size 539.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4528e65d00f1417416c52092bf8de3d8ec30ca52784db4cf3b4b9d4421b5767
BLAKE2b-256 checksum
How to use checksums
6ee99f468e8a5b75b182984e65f5ffdb418e800393ec162415b7ff2cf0d7aac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page