Skip to content

v2.0.0b5

Pre-release
Pre-release

Choose a tag to compare

@rayosborn rayosborn released this 28 Jul 16:16
· 52 commits to main since this release
0e3e676
  • Adds serialize and deserialize functions to the NXfield, NXgroup, and NXlink classes to allow serialized versions of the file to be sent over network connections. The serialize function converts the NeXus objects to dictionaries, that may be saved to a file (e.g., with pickle.dump. The deserialize function is a class method that recreates the NeXus object after the dictionary has been reloaded (e.g., with pickle.load). For a complete NeXus file, this would be implemented by NXroot.deserialize(<serialized_root>).