[NeXus-committee] Is NeXus strictly one-based?

Tobias Richter Tobias.Richter at esss.se
Fri Apr 10 14:37:58 BST 2015


Hi Ben,

All the HDF indexing is zero based and that’s what canSAS picked. We’re compatible and got that in use already, so it’s a bit late to change.

Cheers,

Tobias



> On 10 Apr 2015, at 15:13, Benjamin Watts <Benjamin.Watts at psi.ch> wrote:
> 
> Hi Everyone,
>   I have been looking closer at the new NXdata axes labelling scheme:
> http://wiki.nexusformat.org/2014_axes_and_uncertainties
> and I notice that it is zero-based (i.e. the axes are numbered starting from zero). Isn't NeXus supposed to be one-based? I can't find anything specific in the manual, but the old axes labelling scheme I had implemented as one-based and I don't recall ever seeing an "entry0".
> 
> Should I update the above wiki page to count from one?
> 
> Cheers,
> Ben
> _______________________________________________
> NeXus-committee mailing list
> NeXus-committee at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-committee




More information about the NeXus-committee mailing list