Skip to content

NXxas and NXxas_trans application definitions and required base classes - #1640

Open
mretegan wants to merge 40 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 40 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)).

@mretegan mretegan mentioned this pull request Aug 11, 2026
@phyy-nx

phyy-nx commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

From Telco: This removes NXxas from application definitions which requires a vote and adds new content to contributed definitions, which doesn't require a vote. To me that means this should be split into two PRs, one removing old content and one adding new content to contributed definitions. Also your comment mentions removing NXxasproc, but I don't see that in this pull request?

Out of curiosity, how close is this to being fully ready for adoption in the community?

Finally, just verifying that the old NXxas is fully unused, so greatly changing its meaning won't affect a huge of amount of users/data, correct?

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.

3 participants