[Nexus] proposed additions to NXdata for non-linear scaling - to aid cbf interoperability

"V. Armando Solé" sole at esrf.fr
Fri Mar 14 15:25:49 GMT 2014


On 14/03/2014 16:16, Benjamin Watts wrote:
> Armando,
>    I think you are missing the point about who would be "doing the 
> work" for an NXformula. If we make it part of the standard, then 
> everyone who wants to read NeXus files will need to include this 
> feature. The people writing this software will also be "us". 
> Therefore, including NXformula in Nexus must involve a commitment to 
> implement it.
>

Of course, but not necessarily inside the NeXus library.

At the Diamond NIAC meeting it was decided to leave the NeXus library in 
"bug" fix mode because most (all?) of us were going to use HDF5 via 
different bindings.

If I have to implement that functionality, it is much simpler to me to 
say that the formula string is a expression that can be evaluated via a 
Python "eval" expression than a muParser expression that I do not have 
means to parse now. Therefore my additional mail asking to think twice 
about what validity criteria is used.

Armando



More information about the NeXus mailing list