Skip to main content

Read electron event representation (EER) files in Python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eerfile-0.0.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eerfile-0.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file eerfile-0.0.2.tar.gz.

File metadata

  • Download URL: eerfile-0.0.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for eerfile-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7bf356488970d395e5fbcca54fbf89f084b8039be177614d0d442dc6273c54c2
MD5 481b0023f2bdbc0fa6bc568f4ad4935e
BLAKE2b-256 d3bb17b21d48589a9179a04a1d73b5de9a8dc4238a4da77e44c328991e8604ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for eerfile-0.0.2.tar.gz:

Publisher: ci.yml on teamtomo/eerfile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eerfile-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: eerfile-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for eerfile-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 627a127372db94d9d00f7a9b2e7e73d6aac763b277989fd3d7acb95d7d2fdba7
MD5 0e82bdffce1ac91a746a94c23e2c92fd
BLAKE2b-256 119eb4eb196c5fde8b742ca2753922180801a21bf58bce20aa7a1fa17116f877

See more details on using hashes here.

Provenance

The following attestation bundles were made for eerfile-0.0.2-py3-none-any.whl:

Publisher: ci.yml on teamtomo/eerfile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page