[Nexus-developers] complex numbers

Pete R. Jemian jemian at anl.gov
Fri Nov 19 22:04:59 GMT 2010


Suppose I want to store an array of complex numbers
such as atomic scattering factors or scatter lengths.
How do I do that in NeXus?

The manual provides no answers.

HDF5 provides no complex data type but makes a suggestion to store this 
as a two-dimensional dataset with [real, imaginary] parts.

Pete

-- 
----------------------------------------------------------
  Pete R. Jemian, Ph.D.                <jemian at anl.gov>
  Beam line Controls and Data Acquisition, Group Leader
  Advanced Photon Source,   Argonne National Laboratory
  Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
     Education is the one thing for which people
        are willing to pay yet not receive.
-----------------------------------------------------------


More information about the NeXus-developers mailing list