nyaml: Format Converter for the NeXus Data Model

Mozumder R, Pielsticker L, Kühbach M, Albino A, Dobener F, Shabih S, Márquez Prieto JA, Brockhauser S, Draxl C, Koch C, Weber HB (2026)


Publication Language: English

Publication Type: Journal article

Publication year: 2026

Journal

Book Volume: 11

Article Number: 10231

Issue: 122

Journal Issue: 122

DOI: 10.21105/joss.10231

Abstract

The NeXus scientific data format standard (Klosowski et al., 1997; Könnecke, 2006; Könnecke
et al., 2015), which was originally introduced for neutron, X-ray, and muon science, has in
recent years seen a significant enhancement across diverse scientific domains such as materials
science. NeXus definitions—comprising application definitions and base classes—describe the
hierarchical structure and semantics of valid NeXus files. They are written in XML (Bray et
al., 2008) using the NeXus Definition Language (NXDL), which is itself defined in XSD (XML
Schema Definition) (Thompson et al., 2004).
nyaml is a Python-based tool with both a command-line interface and an application
programming interface (API) that facilitates the conversion between NXDL XML and a
simplified YAML (Ben-Kiki et al., 2005) representation. YAML’s indentation-based syntax
enhances human readability and simplifies manual editing. By providing a reliable, lossless
round-trip conversion between XML and YAML, nyaml enables developers to edit NeXus
definitions efficiently without sacrificing structural or semantic fidelity

Authors with CRIS profile

Involved external institutions

How to cite

APA:

Mozumder, R., Pielsticker, L., Kühbach, M., Albino, A., Dobener, F., Shabih, S.,... Weber, H.B. (2026). nyaml: Format Converter for the NeXus Data Model. Journal of Open Source Software, 11(122). https://doi.org/10.21105/joss.10231

MLA:

Mozumder, Rubel, et al. "nyaml: Format Converter for the NeXus Data Model." Journal of Open Source Software 11.122 (2026).

BibTeX: Download