nexusformat / definitions

Definitions of the NeXus Standard File Structure and Contents
https://manual.nexusformat.org/
Other
26 stars 55 forks source link

NXdata @auxiliary_signals - can the list include the field defined by @signal? #1383

Open spc93 opened 1 month ago

spc93 commented 1 month ago

It might be convenient to include the @signal field, e.g. to implement a fixed set of signal choices, independent of which signal is the default. Would this break anything?

rayosborn commented 1 month ago

The way that auxiliary signals are implemented in NeXpy, then it would lead to the main signal being plotted twice. It wouldn't be difficult to stop that - I just need to convert the Python list to a set and I will probably do that anyway to handle this eventuality. Having said that, the wording of the standard says that the auxiliary signals hold "the names of additional signals to be plotted with the default signal," so technically it is standard violation. It could be changed by the NIAC, although it does bend the meaning of "auxiliary" a little.

signal commented 1 month ago

?

spc93 commented 1 month ago

OK thanks - maybe better to exclude the main signal then.