[Nexus] Release of NeXpy v0.13.3

Osborn, Raymond rosborn at anl.gov
Thu Apr 1 16:06:45 BST 2021


NeXpy v0.13.3 has just been released, and the underlying nexusformat API has been updated to v0.6.1. It is available on PyPI and conda-forge. Both packages require Python v3.6 or later. It fixes issues caused by the recent release of Matplotlib v3.4.0 and adds support for new features in LMfit v1.0.2.

To update NeXpy, type

 $ pip install -U nexpy

or
  $ conda update -c conda-forge nexpy

Note: If you use conda, it is currently recommended to manually update the nexusformat package and the lmfit package. This will be fixed in a future build.

 $ conda update -c conda-forge nexusformat
 $ conda update -c conda-forge lmfit

Changes from 0.13.2
----------------------------
• Adds a pull-down menu to the Projection Tab for selecting which panel to open (Projection, Limits, or Scan).
• Adds support for LMfit forms, which allow some fitting models to be customized. This requires LMfit v1.0.2.
• Confines the fitting range to the x-limits of the parent plot. This can be changed with the "Reset Limits" button.
• Removes legacy fitting functions that duplicate LMfit models.
• Makes the Script menu display subdirectories hierarchically.
• Adds new Matplotlib color maps - two qualitative maps (tab10 and tab20) and a gray-scale divergent map (divgray).
• Fixes issues caused by changes in Matplotlib v3.4.0.
• Fixes a plotting bug when a scan variable is not set in the Scan Panel.

Introduction to 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 plots of 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/

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/20210401/28b6b7ad/attachment.htm>


More information about the NeXus mailing list