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 automatic fit takes the simplest model the map supports: one pattern centre, a tilt line or the plane. 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 (with the scan's .ang for the map's shape, steps, image quality and pattern centre: solver.open("scan.up1", "scan.ang")), 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.2

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.2
File Actions
zebsdsolve-0.2.2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for zebsdsolve-0.2.2-py3-none-win_arm64.whl
zebsdsolve-0.2.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for zebsdsolve-0.2.2-py3-none-win_amd64.whl
zebsdsolve-0.2.2-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for zebsdsolve-0.2.2-py3-none-manylinux_2_28_x86_64.whl
zebsdsolve-0.2.2-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for zebsdsolve-0.2.2-py3-none-manylinux_2_28_aarch64.whl
zebsdsolve-0.2.2-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for zebsdsolve-0.2.2-py3-none-macosx_11_0_x86_64.whl
zebsdsolve-0.2.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for zebsdsolve-0.2.2-py3-none-macosx_11_0_arm64.whl

Total release size: 28.9 MB

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

Download URL zebsdsolve-0.2.2-py3-none-win_arm64.whl
Size 4.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
12850870e1891d7bed960211181df8854296bfab9c529538374faa0e5771b10a
BLAKE2b-256 checksum
How to use checksums
e4707df0a53bd82951e0819c2acb97e80402b3528145e3504cfe3bef9f75e2ad
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 18, 2026.

Transparency log

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

Download URL zebsdsolve-0.2.2-py3-none-win_amd64.whl
Size 5.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
aa893913b29d44e3ddd711b17c60cb0357043ca094b53ec2733629c826057e0a
BLAKE2b-256 checksum
How to use checksums
4e87e7057f8973bf695d67747ca5f147979ebeea80e445d56be2f3a7a56e81a3
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 18, 2026.

Transparency log

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

Download URL zebsdsolve-0.2.2-py3-none-manylinux_2_28_x86_64.whl
Size 5.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
56cdd3f52f43b48166e07d6f09980f42375132cb8015358ebf137c6b5cb6b3d3
BLAKE2b-256 checksum
How to use checksums
f530d0a8f034a06f6bb9fc5ff4c683c6b98289cc26a9e80bdaf774865ac70266
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 18, 2026.

Transparency log

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

Download URL zebsdsolve-0.2.2-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
99edb7fca285088a8ad5075f0a47957525b99581932035bfbad9b9338e6b0fee
BLAKE2b-256 checksum
How to use checksums
bc626ea510457c6fab73b21edfb54a5a32b6a95e128b1d4f0c53a8072715bde4
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 18, 2026.

Transparency log

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

Download URL zebsdsolve-0.2.2-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
2d6b47c019f5b7e25979abcf66554db4d7a1f85cdf239e1efadc6ea0b1fc225a
BLAKE2b-256 checksum
How to use checksums
6b32a9619f76173ea2198d156963327a3917d90a622f0ff3b328350ac0e43b20
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 18, 2026.

Transparency log

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

Download URL zebsdsolve-0.2.2-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
11b088dd790d6162aa5f76540bdc26bcb22cf6d621331d42983cbb5849aa325b
BLAKE2b-256 checksum
How to use checksums
807307c3a49edcd649d8c0e0a6ecb0d1c8b6f599264812ad0a303bf916ed2823
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 18, 2026.

Transparency log

Security for zebsdsolve 0.2.2

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