Bluesky NeXus: a solution for NeXus-compliant data acquisition in Bluesky

Modern scientific experiments require rich, standardized metadata to ensure data is Findable, Accessible, Interoperable, and Reusable (FAIR). The NeXus format—a hierarchical data standard used in neutron, x-ray, and muon science—provides a structured way to organize such metadata, but integrating it automatically into acquisition workflows remains a challenge. We present Bluesky NeXus, a Python package that enables automated, standards-compliant NeXus data generation within Bluesky—a modular Python-based framework for experiment control and data acquisition widely used at synchrotron and neutron facilities. Users define the desired NeXus structure—including groups, datasets, and attributes—using human-readable configuration files (YAML schemas), which are validated using models defined with Pydantic, a Python library for data validation, to ensure consistency and adherence to NeXus definitions. This enables flexible, user-defined metadata management while preserving data integrity. Bluesky NeXus gathers static metadata (e.g., equipment setup) and dynamic data (e.g., measurements), consolidating them into a complete NeXus file automatically archived with each experiment. It integrates with deployment tools like the Bluesky container used at BESSY II and supports diverse experimental configurations. Developed within the ROCK-IT project, Bluesky NeXus streamlines the creation of standardized metadata, advancing the Interoperability and Reusability goals of the FAIR principles.

Publication Details

Journal
JACOW
Published
2025-12-05
DOI
https://doi.org/10.18429/jacow-icalepcs2025-tupd110
Primary Topic
Research Data Management Practices
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Bluesky NeXus: a solution for NeXus-compliant data acquisition in Bluesky

JACOW
Research Data Management Practices
article

Bluesky NeXus: a solution for NeXus-compliant data acquisition in Bluesky

article en

Abstract

Modern scientific experiments require rich, standardized metadata to ensure data is Findable, Accessible, Interoperable, and Reusable (FAIR). The NeXus format—a hierarchical data standard used in neutron, x-ray, and muon science—provides a structured way to organize such metadata, but integrating it automatically into acquisition workflows remains a challenge. We present Bluesky NeXus, a Python package that enables automated, standards-compliant NeXus data generation within Bluesky—a modular Python-based framework for experiment control and data acquisition widely used at synchrotron and neutron facilities. Users define the desired NeXus structure—including groups, datasets, and attributes—using human-readable configuration files (YAML schemas), which are validated using models defined with Pydantic, a Python library for data validation, to ensure consistency and adherence to NeXus definitions. This enables flexible, user-defined metadata management while preserving data integrity. Bluesky NeXus gathers static metadata (e.g., equipment setup) and dynamic data (e.g., measurements), consolidating them into a complete NeXus file automatically archived with each experiment. It integrates with deployment tools like the Bluesky container used at BESSY II and supports diverse experimental configurations. Developed within the ROCK-IT project, Bluesky NeXus streamlines the creation of standardized metadata, advancing the Interoperability and Reusability goals of the FAIR principles.

JACOW
Openalex Percentile: Top 29%
Research Data Management Practices
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.