Skip to main content

Make electron microscopy results interoperable via NeXus

Project description

Ruff

A parser and normalizer for electron microscopy data

Installation

It is recommended to use python 3.11 with a dedicated virtual environment for this package. Learn how to manage python versions and virtual environments.

This package is a reader plugin for pynxtools and thus should be installed together with pynxtools:

pip install pynxtools[em]

for the latest development version.

Purpose

This reader plugin for pynxtools is used to translate diverse file formats from the scientific community and technology partners within the field of electron microscopy into a standardized representation using the NeXus application definition NXem.

Supported file formats

This plugin supports the several file formats that are currently used for electron microscopy. A detailed summary is available in the reference section of the documentation.

Getting started

A getting started tutorial is offered that guides you how to use the em reader for converting your data to NeXus from a Jupyter notebook. Note that not every combination of supported file formats and input for the parser allows to fill required and recommended fields and attributes of the NXem application definition. Therefore, you may need to provide an ELN file that contains the missing values in order for the validation step of the EM reader to pass.

Contributing

We are continously working on adding parsers for other data formats, technology partners, and atom probers. If you would like to implement a parser for your data, feel free to get in contact.

Development install

Install the package with its dependencies:

git clone https://github.com/FAIRmat-NFDI/pynxtools-em.git --branch main --recursive pynxtools_em
cd pynxtools_em
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install -e ".[dev,docs]"

Test this software

Especially relevant for developers, there exists a basic test framework written in pytest which can be used as follows:

python -m pytest -sv tests

Contact person in FAIRmat for this reader

Markus Kühbach

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

pynxtools_em-0.2.tar.gz (409.2 kB view details)

Uploaded Source

Built Distribution

pynxtools_em-0.2-py3-none-any.whl (155.7 kB view details)

Uploaded Python 3

File details

Details for the file pynxtools_em-0.2.tar.gz.

File metadata

  • Download URL: pynxtools_em-0.2.tar.gz
  • Upload date:
  • Size: 409.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for pynxtools_em-0.2.tar.gz
Algorithm Hash digest
SHA256 ee3981851ed619f163c8ae86ad111101bd794978df5f1f6688179c8ebb744bc4
MD5 e5c6082af2216b60c4dc401ae95a39d8
BLAKE2b-256 517127f1d45415636678cff23dde6da58be8e044cc3874dec19f79f2e1333eee

See more details on using hashes here.

File details

Details for the file pynxtools_em-0.2-py3-none-any.whl.

File metadata

  • Download URL: pynxtools_em-0.2-py3-none-any.whl
  • Upload date:
  • Size: 155.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for pynxtools_em-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2cb6a227bc4676c75582d80425cf462c0611107ad950dab9fbd17d5fbd2a9a6
MD5 91e852a503eb7c88e8139064eb4cb405
BLAKE2b-256 c5afe61682cc71c132d4683b1c571ce141316646c7edb45d47d5849b45534ecd

See more details on using hashes here.

Supported by

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