Make electron microscopy results interoperable via NeXus
Project description
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]"
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
Built Distribution
File details
Details for the file pynxtools_em-0.1.tar.gz
.
File metadata
- Download URL: pynxtools_em-0.1.tar.gz
- Upload date:
- Size: 421.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f059b1d47e1be441b26e4d8b8728adb7116538d56b327d2c12875f2e04bcabb0 |
|
MD5 | 2883e9159943036aeebb8785f4051dd0 |
|
BLAKE2b-256 | 6c5cf66790dab4d477374f60f99a8191191875a5b3cfac76ccda0057ef27fcf8 |
File details
Details for the file pynxtools_em-0.1-py3-none-any.whl
.
File metadata
- Download URL: pynxtools_em-0.1-py3-none-any.whl
- Upload date:
- Size: 151.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 402bd22ff4d590b4f5902b102177663566b64b1e51eb0c75385f3024e2d3f3a3 |
|
MD5 | 1ef779bd00f4a9ec6713eb1c583e0bc6 |
|
BLAKE2b-256 | ea8bc960527b17868c8ee7d71dfa64a26abaffd26a2163f19e57c4a40cad4cde |