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.2.2.tar.gz (878.7 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.2.2-py3-none-any.whl (497.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ebsdsim-0.2.2.tar.gz
  • Upload date:
  • Size: 878.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ebsdsim-0.2.2.tar.gz
Algorithm Hash digest
SHA256 fce17ca46ed6cbe48d4dc1af1a2e95cc42d2469edda8a71b575de812d34c61c2
MD5 892c0a1984cf01211388bec3d3ea1da4
BLAKE2b-256 709cf4bb3cbb64fbafad0be7b109aadea3934d7b0a4849e81fccdf256199dfff

See more details on using hashes here.

Provenance

The following attestation bundles were made for ebsdsim-0.2.2.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.2.2-py3-none-any.whl.

File metadata

  • Download URL: ebsdsim-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 497.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ebsdsim-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85dcdae5d17ce5cc4b5fd98d8bb36bcf3c32c162f87cc4e64a2d39c29353158f
MD5 e6bde52922086876f690a9002e003ba9
BLAKE2b-256 48c013c0feab16c051cd0d49fdd414e10413ce9abeaf1e22a1b048c9ae188326

See more details on using hashes here.

Provenance

The following attestation bundles were made for ebsdsim-0.2.2-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