Skip to content

Miscellaneous Improvements

Compare
Choose a tag to compare
@rayosborn rayosborn released this 28 Jun 14:43
8b56504
  • 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.