Electron Microscopy Machine Learning (EMicroML)

emicroml is a Python library for training machine learning models for applications in microscopy.

The source code can be found in the emicroml GitHub repository.

Instructions for installing and uninstalling emicroml

For instructions on installing the emicroml library, see the Instructions for installing and uninstalling emicroml page.

Learning how to use emicroml

For those new to the emicroml library, it is recommended that they take a look at the Examples page, which contain code examples that show how one can use the emicroml library. While going through the examples, readers can consult the emicroml reference guide to understand what each line of code is doing.

Reproducing data of preprints and published papers

Ultramicroscopy 283 (2026), 114347

The majority of the data presented in Ref. [Fitzpatrick1] can be reproduced by running all of the examples listed on the page Examples of distortion estimation of CBED patterns.

How to cite emicroml

Estimation of optical distortion in CBED patterns

If you are using machine learning models constructed via our emicroml library to estimate optical distortion in convergent beam electron diffraction (CBED) patterns, please cite Ref. [Fitzpatrick1].

Contents

Indices and tables