Conversation
|
@mretegan @woutdenolf @newville My understanding of the NIAC minutes of Telco 20260211 is that both options are OK. As said many times, my position is to go for NeXus base classes representing the experimental data collection modes, as I wrote in the famous shared Google document long time ago. This solution has the strong advantage that then the base classes can be reused by other application definitions, like XMCD and other techniques. I do not understand why we are still hesitating on this. Please, let's move on. As a first start, I propose implementing the basic modes that represent most of the XAS and other techniques' data:
As an alternative, for the fluorescence yield (in view of the electron yield or the optical yield), we may adopt the subclass approach:
But I think this is just a complication and I would just go for the first approach of base classes for each experimental collection mode. |
|
Thank you both for your input. I think that to have a complete picture, it will make sense to finish both in parallel and to create a few HDF5 examples. I will start working on this tomorrow. |
Hi @newville thanks for your feedback. To me, the modes are more than just informative. They tell exactly what is "mu" and how it was measured. For example, Fe K-edge XAS "mu" of Fe2O3 measured in transmission is a different thing than Fe K-edge XAS "mu" of Fe2O3 measured in HERFD. Furthermore, the "minimum required metadata" for transmission are not the same as HERFD. |
@mretegan for me it is very difficult to read the |
|
@maurov I would be cautious about being overly strict here. Yes, data measured in different modes are different, and processing/analysis may want to do different steps based on the mode. And the mode should be stated. And, yes, HERFD really ought to state energy analyzed (but that is also a trusted value), but is NeXuS going to say that a file is invalid if it states mode="HERFD" but does not correctly spell "analyzed energy" in every group? |
We have something set up, but it builds the You can also build locally. Go to the |
Another possibility for having fields that are acquisition mode dependent is to use subclasses as suggested here: nexusformat#1352 (comment)
This is a reasonable alternative, as it is unlikely that we will be able to define acquisition modes that will be reused by other techniques (the alternative option proposed above and implemented here: #6).
The two options were discussed in the NIAC https://www.nexusformat.org/Telco_20260211.html