Skip to content

Releases: nexpy/nexusformat

v1.0.0rc4

02 Dec 21:29
ff3fb1c
Compare
Choose a tag to compare
  • Fixes an issue with lock file directory permissions.

v1.0.0rc3

30 Nov 17:48
503b726
Compare
Choose a tag to compare
  • Adds a human_size function to display the size of NXfields in human-readable form.
  • Restores the NXgoniometer class.

v1.0.0rc2

22 Nov 16:12
a07ef25
Compare
Choose a tag to compare
  • Adds requirement for the hdf5plugin package in order to enable additional compression filters.

v1.0.0rc1

14 Nov 20:59
e750963
Compare
Choose a tag to compare
  • First release candidate for v1.0.0

Miscellaneous enhancements

11 Nov 20:42
939aedd
Compare
Choose a tag to compare
  • Provides an option to store lock files in a directory designated by an environment variable or preference parameter.
  • Creates nxgetconfig and nxsetconfig functions for handling parameters, such as default compression and memory limits. The older get and set functions are kept for backward compatibility.

Miscellaneous Improvements and Bug Fixes

26 Aug 18:42
76d2684
Compare
Choose a tag to compare
  • Adds a transpose function to NXdata. The syntax is like the NumPy and NXfield transpose functions, but the function also permutes the axes.
  • The nxsignal property returns a NXfield if it is the sole member of a NXdata group, even if the signal attribute is not set.
  • Adds moment, mean, var, and std functions to NXfields, using the array indices as the x-axis values.
  • Fixes compatibility with Matplotlib v3.6.

Miscellaneous Improvements

28 Jun 14:43
8b56504
Compare
Choose a tag to compare
  • Adds nxopen as an alias to nxload, returning the NeXus file tree as a NXroot object.
  • Adds context manager functions to the NXroot class. This allows the use of with nxopen(...) as f: to open NeXus files in a similar way to the standard Python open syntax. In this example, f is the NXroot group of the NeXus file.
  • Allows NXroot objects to be sorted by their internal names.
  • Allows NXlink objects to be equated when they share the same target.
  • Fixes a bug when plotting 2D data with the 'tab10' color map.

File Lock Improvements

27 Apr 19:18
f0406c7
Compare
Choose a tag to compare
  • Allows a lock expiry time to be set, after which locks are considered stale and automatically cleared. This defaults to 8 hours.
  • Adds new functions, nxgetlockexpiry and nxsetlockexpiry to query and set, respectively, lock expiry times
  • Fixes an issue that sometimes prevented a new lock from acquired in nested contextual menus.
  • Catches exceptions caused by the deletion of a NeXus file that has already been loaded.

Bug fix

03 Feb 23:32
5a2bdba
Compare
Choose a tag to compare
  • Fixes an issue with missing links in external files.

Minor updates

20 Jan 20:56
01192b4
Compare
Choose a tag to compare
  • Fixes an issue preventing NeXus trees from being pickled.
  • Fixes an issue when using special formatting instructions to print NXfields.
  • Officially advertises support for Python 3.10.