[Nexus] Release of NeXpy v0.2

Osborn, Raymond rosborn at anl.gov
Tue Jun 3 21:36:52 BST 2014


NeXpy v0.2 has just been released, now including support for Numpy masked arrays, improved contextual menus, and finer control over projection limits.

Masked arrays are useful for eliminating missing or damaged pixels from calculations and plots while preserving the original counts. HDF5 does not have a mechanism for storing masked arrays, so NeXpy creates additional Boolean fields that the masked data links to through the 'mask' attribute. This is not currently part of the NeXus standard, but we will make a formal proposal soon. Until its ratification, this implementation can be used to test the idea.

NeXpy
---------
Nexpy is a Python application that provides access to arbitrary NeXus files, with a simple GUI and embedded Python shell for the inspection, plotting, editing, and analysis of NeXus data. It combines the flexibility of a Python shell with the convenience of GUI access to commonly-used commands, giving the neutron and x-ray scattering scientist a simple but powerful toolbox for 'playing' with their data.

NeXpy has been uploaded to the Python Package Index server so, if you have a reasonably current Python distribution, it should be possible to install NeXpy using:

  $ pip install nexpy

or upgrade an existing installation with:

  $ pip install -U nexpy

Unfortunately, pip may try to upgrade other packages even if they satisfy the minimum NeXpy requirements. You can avoid this by uninstalling nexpy first:

   $ pip uninstall nexpy
   $ pip install nexpy

NeXpy Home Page: http://nexpy.github.io/nexpy/
NeXpy Github: https://github.com/nexpy/nexpy

This is a beta release. Please report any bugs to the Github issues page. Other questions can be addressed here to the NeXus Mailing List.

Ray Osborn
--
Ray Osborn, Senior Scientist
Materials Science Division
Argonne National Laboratory
Argonne, IL 60439, USA
Phone: +1 (630) 252-9011
Email: ROsborn at anl.gov<mailto:ROsborn at anl.gov>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20140603/2cb359ba/attachment.html>


More information about the NeXus mailing list