Skip to content

Read electron event representation (EER) files in Python

License

Notifications You must be signed in to change notification settings

teamtomo/eerfile

Repository files navigation

eerfile

License PyPI Python Version CI codecov

Read electron event representation (EER) files as NumPy arrays in Python.

Installation

eerfile is available on PyPI and can be installed with pip

pip install eerfile

Usage

import eerfile

# render multi-frame micrograph from file and target dose per frame
# dose per frame is in electrons per square angstrom
image = eerfile.render("FoilHole_19622436.eer", dose_per_output_frame=1.0)

# or you can read the entire stack of EER frames
eer_frames = eerfile.read("FoilHole_19622436.eer")

Acknowledgements

This package is a very thin convenience layer on top of tifffile which provides the EER frame decoding logic.

About

Read electron event representation (EER) files in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages