Skip to main content

Ruff DOI

pynxtools-raman: A pynxtools reader for Raman data

A pynxtools reader plugin for transferring Raman data from vendor formats to NeXus and NOMAD.

+This pynxtools plugin was generated with cookiecutter using the pynxtools-plugin-template template.

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 should be installed together with pynxtools:

uv pip install pynxtools[raman]

Purpose

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

Step-by-Step Example

You see three Folders:

  • examples: contains example datasets to show how the data conversion is done (currently one example from WITec and one example from the Raman Open Database)
  • tests: contains a test procedure and files, which are required for software development
  • src/pynxtools_raman: source files, which contain the sub-reader function for Raman experiments. This only works in combination with the Python package pynxtools. This is a specialization of the Multiformat Reader. There are also sub-reader functions for a WITec device and files from the Raman Open Database. In addition, config.json files are located in src/pynxtools_raman/config. These are necessary to map the input data via the MultiformatReader to the NeXus concepts. These config files allow individual adjustments, as different laboratories may have different electronic lab notebook structures.

Perform a data conversion

for the WITec dataset via:

pynx convert examples/witec/txt/eln_data.yaml examples/witec/txt/Si-wafer-Raman-Spectrum-1.txt src/pynxtools_raman/config/config_file_witec.json --reader raman --nxdl NXraman --output new_witec_example_nexus.nxs

and for the Raman Open Database dataset set via:

pynx convert examples/database/rod/rod_file_1000679.rod src/pynxtools_raman/config/config_file_rod.json --reader raman --nxdl NXraman --output new_rod_example_nexus.nxs

For Example for the Raman Open Database command:

  • You assign the reader name via --reader raman.
  • You assign the NeXus application definition, on which the output will be based via --nxdl NXraman.
  • You specify the name and path of the output file via --output new_rod_example_nexus.nxs.
  • You assign an individualized config file via src/pynxtools_raman/config/config_file_rod.json. The config file is detected by its extension .json.
  • You give the file which includes the meta and measurement data via examples/database/rod/rod_file_1000679.rod. The parser is specified to detect the .rod file, and handle the content appropriately.

Then you can inspect the generated file at this website or in VScode via the extension "H5web".

Docs

More information about this pynxtools plugin is available in the documentation. You will find information about getting started, how-to guides, the supported file formats, how to get involved, and much more there.

Contact person in FAIRmat for this reader

Lukas Pielsticker

Metadata

Release files for pynxtools-raman 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynxtools-raman 0.2.1
File Size Uploaded
pynxtools_raman-0.2.1.tar.gz 36.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pynxtools-raman 0.2.1
File Interpreter ABI Platform
pynxtools_raman-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 86.3 kB

Release files / pynxtools_raman-0.2.1.tar.gz

Download URL pynxtools_raman-0.2.1.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6e6a1dc385c02eb96418e2a35262521ec59e47c652cdd1f952450d1e596e1476
BLAKE2b-256 checksum
How to use checksums
970f1930531093f147a859d0d1f99bb22fa334a4682c3707635e9df55fc04bad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / pynxtools_raman-0.2.1-py3-none-any.whl

Download URL pynxtools_raman-0.2.1-py3-none-any.whl
Size 50.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e010b7fa9bf2dff16c7631e8424081fab341e1c961d93dcf6e5c133890408b53
BLAKE2b-256 checksum
How to use checksums
5e5e4f36a20d22b032cb3c2b35ee6a9478bffd5f1075d88661f0bc36675e9091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page