[Nexus-developers] NaN's

Ray Osborn ROsborn at anl.gov
Tue Oct 19 19:27:16 BST 2010


I should know the answer to this, but I don't. Can I assume that the  
API will handle NaN's in an array gracefully, and record them in the  
NeXus file? I can't remember if we are fully compliant with the IEEE  
storage of floating points.

On a related point, does anyone know (Paul?) if the Python wrapper  
will transfer NaN's as well. We are thinking of using masked arrays.  
I'm not actually sure how they handle IO, i.e., whether the masked  
values are just written out as NaNs, but that seems logical.

Any insights welcome.

Thanks,
Ray
-- 
Ray Osborn
Materials Science Division
Argonne National Laboratory
Argonne, IL 60439, USA
Phone: +1 (630) 252-9011
Email: ROsborn at anl.gov





More information about the NeXus-developers mailing list