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.1.1.tar.gz (403.1 kB view details)

Uploaded Source

Built Distribution

pynxtools_em-0.1.1-py3-none-any.whl (155.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pynxtools_em-0.1.1.tar.gz
Algorithm Hash digest
SHA256 22a359143c0479b89964273eaa79529ea48cdce55899576c7db2e54221990271
MD5 c92087a6ed553c77d347482df6ad9ff9
BLAKE2b-256 64b2af355c009d4b8db2eab55974f9d8b9e1b9c6b333967cb79dec353044f628

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pynxtools_em-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f22e567d185b0f079bc57e7c15034eeba1190ada80c1d474dd81bdd8b82036a
MD5 7e6c798b507cdca33bde1ef43900fd3f
BLAKE2b-256 d9320e5d7e5ff1c319c57b352892f16c5f796814d6a8db9b0c829498a6f1e1b5

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