Skip to main content

A reader for transferring APM from vendor formats to NeXus and NOMAD.

Project description

Ruff DOI

Parse and normalize atom probe tomography and field-ion microscopy data

Installation

It is recommended to use python 3.12 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[apm]

for the latest release version from pypi.

If you are interested in the newest version, we recommend to work with a development installation instead.

Purpose

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

Supported file formats

This plugin supports the majority of the file formats that are currently used for atom probe research. A detailed summary is available in the reference section of the documentation.

Getting started

A getting started tutorial is offered that guides you on how to use the apm reader for converting your data to NeXus from a Jupyter notebook or command line calls. Note that not every combination of input from a supported file format and other input, such as from an electronic lab notebook, allows filling all required and recommended fields including their attributes of the NXapm 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 improving the collection of parsers and their functionalities. 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-apm.git --branch main --recursive pynxtools_apm
cd pynxtools_apm
python -m pip install --upgrade pip
python -m pip install -e ".[dev,docs]"
pre-commit install

The last line installs a pre-commit hook which automatically formats (linting) and type checks the code before committing.

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_apm-0.4.1.tar.gz (59.3 kB view details)

Uploaded Source

Built Distribution

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

pynxtools_apm-0.4.1-py3-none-any.whl (83.3 kB view details)

Uploaded Python 3

File details

Details for the file pynxtools_apm-0.4.1.tar.gz.

File metadata

  • Download URL: pynxtools_apm-0.4.1.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pynxtools_apm-0.4.1.tar.gz
Algorithm Hash digest
SHA256 639cc2ff514042588959a7bafa09f45eaf899432a8e827b53c59e2db6dfdd028
MD5 8acb94377046fd46fdca8a068fdfef29
BLAKE2b-256 bfc0f36987fc694c6bbd8bb64ef17f5b94fa7eb2389f0557a1c0b53728aa7461

See more details on using hashes here.

Provenance

The following attestation bundles were made for pynxtools_apm-0.4.1.tar.gz:

Publisher: publish.yml on FAIRmat-NFDI/pynxtools-apm

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

File details

Details for the file pynxtools_apm-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: pynxtools_apm-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 83.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pynxtools_apm-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a299132a1732bfadc3ab4dca660bcf072e1e89ff80ef57dfb4c8f37c2c9a704
MD5 a329016bd2aa5b6805a6072dbf7c8f23
BLAKE2b-256 9c3f98d98711b9e1efa565f521c37b45a5b04ccffeee7329ff2c35a578319ab5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pynxtools_apm-0.4.1-py3-none-any.whl:

Publisher: publish.yml on FAIRmat-NFDI/pynxtools-apm

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