[Nexus] Release of NeXpy v1.0.0rc1

Osborn, Raymond rosborn at anl.gov
Tue Nov 15 16:37:09 GMT 2022


The first release candidates for both NeXpy v1.0.0 and nexusformat v1.0.0 have been released (https://pypi.org/project/NeXpy/1.0.0rc1/). The conda-forge channel does not support pre-releases, but you can install v0.14.8 and v0.7.8, respectively, which are nearly identical. If you use NeXpy, please install the latest versions and report any issues to their respective Github pages in https://github.com/nexpy.

If you are interested in finding out more about NeXpy, I will be presenting a Zoom webinar to the HDF group tomorrow at 9am US Central Time. You can register here:

https://us06web.zoom.us/meeting/register/tZIsdOGgrDItHNI_JjI5FwlVSURJHJdS1WUE

NeXpy

NeXpy provides a high-level Python interface to NeXus data, within a simple GUI that combines a tree view of loaded files, Matplotlib panes to visualize multidimensional arrays, and an IPython shell for manipulating the data and metadata. NeXpy is intended to be a simple, intuitive, interactive toolbox that allows users to explore ways of modeling NeXus data, with minimal overhead, and to create new NeXus-conforming data files without expert knowledge of the file format. NeXpy makes it easy to view arbitrary 1D and 2D slices and projections of multi-dimensional data and to compare data from multiple datasets.

A built-in script editor allows new data analysis methods to be developed, tested, and refined. The underlying Python API for reading and writing NeXus files is provided by the nexusformat package, which utilizes h5py. NeXpy also contains a GUI interface to the lmfit module for fitting 1D data.

NeXpy Home Page: https://nexpy.github.io/nexpy/

Release Notes

  *   Adds support for PyQt6 and PySide6.
  *   Allows the storage of file-based locks in a directory, specified by an environment variable or NeXpy preference.
  *   Adds support for HDF5 virtual datasets using a Scan Panel and through the nexusformat ’nxconsolidate’ command-line script.
  *   Adds support for composite models in the GUI interface to ‘lmfit'.
  *   Adds a context manager to open NeXus files with file locks as the root object, i.e., enables “with nxopen(<file.nxs>) as root:”, to mimic the Python open file syntax.

Jupyter Notebook

A tutorial on using the nexusformat API is available as a Jupyter Notebook. It can be accessed online in a Google colaboratory:

https://colab.research.google.com/github/nexpy/nexusformat/blob/master/src/nexusformat/notebooks/nexusformat.ipynb

Installation

NeXpy is available on both the Python Package Index server and Anaconda, using

 $ pip install nexpy

or

 $ conda install -c conda-forge nexpy

Please report any bugs to the Github issues page. Other questions can be addressed to the NeXus Mailing List <nexus at nexusformat.org<mailto:nexus at nexusformat.org>>.

NeXpy Github: https://github.com/nexpy/nexpy
NeXpy Release Notes: https://github.com/nexpy/nexpy/releases

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: <https://lists.nexusformat.org/pipermail/nexus/attachments/20221115/a95751a4/attachment.htm>


More information about the NeXus mailing list