[Nexus] Correct way to specify multiple signals

V. Armando Solé sole at esrf.fr
Thu Jan 11 09:22:44 GMT 2018


An additional question.

The axes attribute, is it a single string with dataset names separated
by colons  (",") or is it an array of strings? I had always understood
the former but my colleagues understand the later. I would appreciate
clarification there too because in the documentation pages I do not see
the typical [n] used to specify one is dealing with arrays and because
of that (and because for some computing languages variable length string
arrays are a problem) I was expecting a single string.

Thanks!

Armando

On 11/01/2018 09:59, V. Armando Solé wrote:
> Happy New Year!
>
> We would like to store in a single NXdata the axes and more than one
> signal sharing the same axes. The goal is to be able to plot, for
> instance, a curve and the fitted curve. With the old method where the
> attributes were associated to datasets, we were using the approach
> signal="1", signal="2",... I know that was never wrote but it was clear
> that use was quite common.
>
> With the new NXdata where the attributes belong to the groups, what is
> the correct approach to specify multiple signals? I would expect the
> same approach as when specifying multiple axes (that means "," separated
> dataset names) but I would appreciate confirmation because we are
> implementing it...
>
> Best wishes,
>
> Armando
>
>
>
> _______________________________________________
> NeXus mailing list
> NeXus at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus
>




More information about the NeXus mailing list