Nexpy

Latest version: v1.0.10

Safety actively analyzes 688724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 18 of 19

0.2.3

- There is no new functionality in this release. The pyro directory, which implemented a prototype for accessing NeXus files remotely, has now been moved into the nexpy/nxremote repository.

0.2.2

- Allows calls to the NXdata projection method to produce an average, _i.e._, the projection is divided by the number of summed bins.
- Fixes a problem with true division in Python 3. This also affects Python 2, when future division behavior is enabled.

0.2.1

- Improves compatibility with Python 3 by ensuring unicode strings returned by NXobject property calls.
- Fixes a bug in the NXdata project function caused by stricter type-checking in Python 3.

0.2.0

- This is the first version compatible with both Python 2 and Python 3. It has been tested on v2.7, 3.3, 3.4, and 3.5. Python 2.7 and 3.3 are the minimum versions for Python 2 and 3, respectively.
- When used from a Python or IPython shell, this version should also be compatible with any Matplotlib backends, including PyQt5.
- Improves behavior for interactive plotting, _i.e._, it will respect the current Matplotlib interactive setting.
- Improves detection of plottable data within NXroot or NXentry groups.

0.1.4

- This fixes a bug, in which a NXfield that is stored within an existing NeXus file is copied to another group stored in memory, and then that group is copied back to the original file. If the NXfield is large, this caused the file to be closed before a file update is completed.

0.1.3

- Linked items within a file can now have different names from their target. This restriction was lifted a few years ago.
- Added a compression filter setting, NX_COMPRESSION, which defaults to 'gzip'. This can be set using the nxsetcompression function, _e.g._, `nxsetcompression('lzf')`. It can also be set to ‘None’.
- Added a unicode encoding setting, NX_ENCODING, which defaults to 'utf-8'. This can be set using the nxsetencoding function, _e.g._, `nxsetencoding('latin1')`.
- The nexusformat package now uses variable length strings for storing all text fields using utf-8 (the h5py default), but fixed length strings in existing files could have a variety of encodings. If there is a decoding error when reading a string, nexusformat will see if 'latin1', the most common alternative, works. However, there is no guarantee that the correct encoding will be selected.
- The `nxtree` function has been renamed `nxdir`, to prevent clashes with the NeXpy GUI.
- Improved handling of infinities when plotting.
- Improved copying of large datasets between files.
- Improved handling of singleton and reversed axes.
- Fixed a bug that caused a shift when slicing data whose axes are stored as bin boundaries rather than centers.
- Added a `__nonzero__` function to NXfield. Note that this means that if statements involving the NXfields will return False if all items are 0 and True otherwise.

Page 18 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.