Skip to main content

zebsdsolve

EBSD pattern-centre fitting and indexing on the GPU, in the browser or from Python.

Open the web app: it runs on your GPU inside the page (Chrome or Edge 137+). Scans are read in place, in pieces, so a 100 GB file is neither uploaded nor loaded into memory. Click Example for a small nickel scan, or Make toy scan to simulate one from a master pattern.

What it does

  • Indexes by spherical cross-correlation over all orientations, refined on the detector: about 23 000 patterns per second on a desktop GPU, 67 000 in two sweeps. Dictionary indexing is there too.
  • Fits the geometry: the pattern centre by a vote of a few patterns; then the plane of source points: each fit pattern's own source point, and the affine or projective transformation of the scan through them (after Winkelmann et al. 2020 and kikuchipy's fit_pc), from the scan's own patterns and asking nothing of the step, the pixel size or the tilt, which it then reports with their standard errors. The app shows the search's volume in 3D and every pattern's source point against the plane.
  • Prepares patterns: binning, neighbour averaging (NLPAR), static and dynamic background, CLAHE, band pass, mask.
  • Simulates master patterns from a CIF (dynamical Bloch waves, depth-integrated by a low-rank Lyapunov solve corrected by its dual-weighted residual: ebsdsim's method made 3–6× faster and several times more accurate), in the app's Simulate tab or from Python, to index with at once or save.
  • Handles several phases, and writes .ang and .ctf.
  • Reads h5ebsd (kikuchipy, Bruker, EDAX, Oxford .h5oina), EDAX .up1 / .up2, Oxford .ebsp, NORDIF Pattern.dat. Master patterns: ebsdsim .npz and EMsoft .h5.

One engine (Zig and WGSL) runs natively through wgpu-native and as WebAssembly on WebGPU, so the app and the Python package do the same thing.

Python

pip install zebsdsolve
python -m zebsdsolve          # the same app, served locally
import zebsdsolve as ze

res = ze.index("scan.h5", ["Ni.npz"], fit="geometry")   # fit the geometry, then index
res.quaternions, res.ncc, res.phase                  # per map cell
res.geometry                                         # what the fits found

Every option is a keyword (src/settings.zig); ze.Solver drives the steps one at a time. Two tutorials are in examples/.

More

MIT (LICENSE). The wheels bundle wgpu-native (MIT / Apache-2.0); the example scan is kikuchipy's nickel_ebsd_large, CC BY 4.0 (sources).

Metadata

Release files for zebsdsolve 0.2.0

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

Built distributions (wheels)

Table of built distributions (wheels) for zebsdsolve 0.2.0
File Actions
zebsdsolve-0.2.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for zebsdsolve-0.2.0-py3-none-win_arm64.whl
zebsdsolve-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for zebsdsolve-0.2.0-py3-none-win_amd64.whl
zebsdsolve-0.2.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for zebsdsolve-0.2.0-py3-none-manylinux_2_28_x86_64.whl
zebsdsolve-0.2.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for zebsdsolve-0.2.0-py3-none-manylinux_2_28_aarch64.whl
zebsdsolve-0.2.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for zebsdsolve-0.2.0-py3-none-macosx_11_0_x86_64.whl
zebsdsolve-0.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for zebsdsolve-0.2.0-py3-none-macosx_11_0_arm64.whl

Total release size: 28.5 MB

Release files / zebsdsolve-0.2.0-py3-none-win_arm64.whl

Download URL zebsdsolve-0.2.0-py3-none-win_arm64.whl
Size 4.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
654fb013d341794552b7bacc43110ddeffc0a7cf498957c2fdd7398bc278e5c9
BLAKE2b-256 checksum
How to use checksums
9c96fb744b41d87d6e7a444551954f5751d70a7385040d537abeb974fa8b5e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / zebsdsolve-0.2.0-py3-none-win_amd64.whl

Download URL zebsdsolve-0.2.0-py3-none-win_amd64.whl
Size 5.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
15ce287e376842dc6c7fbadfa087dc968e5883a04cc5c2a1d2c315d75d6c0bcd
BLAKE2b-256 checksum
How to use checksums
21ff02f01b75880e4b7c1703b23e77015b21897c20ebed33e186bc089f1e25cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / zebsdsolve-0.2.0-py3-none-manylinux_2_28_x86_64.whl

Download URL zebsdsolve-0.2.0-py3-none-manylinux_2_28_x86_64.whl
Size 5.0 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1c2c2347840205e2ec474aa04ca67f269e01e25a516c0e68543a82cf9578526f
BLAKE2b-256 checksum
How to use checksums
5dd3c4ee3807dc5973ebac7056252bf5241e42d039879dd1a1efad546ecfa4c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / zebsdsolve-0.2.0-py3-none-manylinux_2_28_aarch64.whl

Download URL zebsdsolve-0.2.0-py3-none-manylinux_2_28_aarch64.whl
Size 5.0 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
85fd128ca2277a83bca75485c4a19e5ac2c3d5de95e3b5ebaf38a0d3b5cb8dab
BLAKE2b-256 checksum
How to use checksums
be8ae09f446d3f505728996fe5a4f8cdbaa825f48270c6fed392c7a00db62aa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / zebsdsolve-0.2.0-py3-none-macosx_11_0_x86_64.whl

Download URL zebsdsolve-0.2.0-py3-none-macosx_11_0_x86_64.whl
Size 4.5 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
d9be9789857b49231616058a811d9731be97ea72704922402f7b710574b21c2c
BLAKE2b-256 checksum
How to use checksums
5d4e6711c522155d58d489b616ca4c2d8a0b31c03725920390467b4445dff5ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / zebsdsolve-0.2.0-py3-none-macosx_11_0_arm64.whl

Download URL zebsdsolve-0.2.0-py3-none-macosx_11_0_arm64.whl
Size 4.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
372537ed91fd3badf7af9abec75990f9a48d250052a9cfee42ea4e8035e3f341
BLAKE2b-256 checksum
How to use checksums
4ee8ea01651e8e7f0f728b812d44fdbde3bb70c64416139d6ebb92e6f4d16aa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for zebsdsolve 0.2.0

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for zebsdsolve-0.2.0-py3-none-win_arm64.whl

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 Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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