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.0

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.0
File Size Uploaded
pynxtools_raman-0.2.0.tar.gz 32.5 kB Details

Built distribution (wheel)

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

Total release size: 80.3 kB

Release files / pynxtools_raman-0.2.0.tar.gz

Download URL pynxtools_raman-0.2.0.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a5e42a465ad5b47d2b5f1b18f0c99046b87c956a3b68804d326e1c47598b5798
BLAKE2b-256 checksum
How to use checksums
ca33254e2752440e9568a0646f8cc676c9ef20d7b18ed9e53066b6ea85e395d5
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 2, 2026.

Transparency log

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

Download URL pynxtools_raman-0.2.0-py3-none-any.whl
Size 47.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39fc52ac3a1d6ce697b142af3a99bfb766a39e4c476ae97e1841a07debae264d
BLAKE2b-256 checksum
How to use checksums
5da9568c838dd178d90ddde8e1a6c778f0f75fb2c2d23a748bfd3ec4d8369566
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 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

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