Skip to content

NXxas and NXxas_trans application definitions and required base classes#1640

Open
mretegan wants to merge 37 commits into
nexusformat:mainfrom
XraySpectroscopy:xas-base-and-trans-minimal
Open

NXxas and NXxas_trans application definitions and required base classes#1640
mretegan wants to merge 37 commits into
nexusformat:mainfrom
XraySpectroscopy:xas-base-and-trans-minimal

Conversation

@mretegan

@mretegan mretegan commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

The MR introduces a subset of the X-ray absorption application definitions that use the inheritance-based mechanism discussed in #1352 and XraySpectroscopy#7. Once validated, new MRs will be opened for the remaining classes, which are somewhat more complex.

The new/updated application definitions are:

  • NXxas is a generic application definition for X-ray absorption spectroscopy (XAS).
  • NXxas_trans is an application definition that specializes NXxas for data acquired in transmission mode.

The new classes will replace the current NXxas and NXxasproc, as each of them is designed to hold both raw and processed data, i.e., no need to have separate definitions.

One particularly is the use of dataRank to allow for either 1D or 2D data. Currently this is only expressed in the doc of different fields, but @woutdenolf had a few suggestions on how this could also be validated (see XraySpectroscopy#7 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant