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,
    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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ebsdsim-0.1.10.tar.gz (853.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ebsdsim-0.1.10-py3-none-any.whl (440.7 kB view details)

Uploaded Python 3

File details

Details for the file ebsdsim-0.1.10.tar.gz.

File metadata

  • Download URL: ebsdsim-0.1.10.tar.gz
  • Upload date:
  • Size: 853.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ebsdsim-0.1.10.tar.gz
Algorithm Hash digest
SHA256 e4e090c066cee75fe4a9364f85dd7f3a05c43f5a255d57b15783751f5ac31a59
MD5 ac0506d04ec062e7be446645eb1624bc
BLAKE2b-256 e275fde0a0dd93b3f3eb41c304f3cbb84156e505405522a09067c522f6aa6441

See more details on using hashes here.

Provenance

The following attestation bundles were made for ebsdsim-0.1.10.tar.gz:

Publisher: release.yml on ZacharyVarley/ebsdsim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ebsdsim-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: ebsdsim-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 440.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ebsdsim-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 a4b263c08a79cbe41dbb9511d7299448ca191a0792d4730f5de3d27f01aeeb6c
MD5 60cad52d06d9686a00d46e631656a33d
BLAKE2b-256 d06f190c28c3a07758626b42b65de4bdf14f776f0c390fbfded43ba655d58f29

See more details on using hashes here.

Provenance

The following attestation bundles were made for ebsdsim-0.1.10-py3-none-any.whl:

Publisher: release.yml on ZacharyVarley/ebsdsim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page