Pyxem
An open-source Python library for multi-dimensional diffraction microscopy.
Install / Use
/learn @pyxem/PyxemREADME
|Actions|_ |Coveralls|_ |pypi_version|_ |downloads|_ |black|_ |doi|_
.. |Actions| image:: https://github.com/pyxem/pyxem/workflows/build/badge.svg .. _Actions: https://github.com/pyxem/pyxem/actions
.. |Coveralls| image:: https://coveralls.io/repos/github/pyxem/pyxem/badge.svg?branch=main .. _Coveralls: https://coveralls.io/github/pyxem/pyxem?branch=main
.. |pypi_version| image:: http://img.shields.io/pypi/v/pyxem.svg?style=flat .. _pypi_version: https://pypi.python.org/pypi/pyxem
.. |doi| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.2649351.svg .. _doi: https://doi.org/10.5281/zenodo.2649351
.. |downloads| image:: https://anaconda.org/conda-forge/pyxem/badges/downloads.svg .. _downloads: https://anaconda.org/conda-forge/pyxem
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg .. _black: https://github.com/psf/black
pyxem is an open-source (GPL v3) python library for multi-dimensional diffraction microscopy.
The package defines objects and functions for the analysis of numerous diffraction patterns. It has been primarily developed as a platform for hybrid diffraction-microscopy based on 4D scanning diffraction microscopy data in which a 2D diffraction pattern is recorded at every position in a 2D scan of a specimen.
pyxem is an extension of the hyperspy library for multi-dimensional data analysis and defines diffraction specific Signal classes.
Installation instructions and tutorial examples are available here <https://github.com/pyxem/pyxem-demos>__ .
Basic Documentation is available here <https://pyxem.readthedocs.io/en/latest/>__.
If analysis using pyxem forms a part of published work please cite the DOI at the top of this page. In addition to citing the package we would appreciate an additional citation to methods papers if you use the following capabilities:
Orientation Mapping
::
@article{pyxemorientationmapping2022,
title={Free, flexible and fast: Orientation mapping using the multi-core and GPU-accelerated template matching capabilities in the python-based open source 4D-STEM analysis toolbox Pyxem},
author={Cautaerts, Niels and Crout, Phillip and {\AA}nes, H{\aa}kon Wiik and Prestat, Eric and Jeong, Jiwon and Dehm, Gerhard and Liebscher, Christian H},
journal={Ultramicroscopy},
pages={113517},
year={2022},
publisher={Elsevier},
doi={10.1016/j.ultramic.2022.113517}
}
Strain Mapping
Two-Dimensional Strain Mapping with Scanning Precession Electron Diffraction: An Investigation into Data Analysis Routines by Crout et al. which is freely avaliable at https://arxiv.org/abs/2307.01071
Related Skills
node-connect
336.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
82.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
82.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
336.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
