Nexpy

Latest version: v1.0.10

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

Scan your dependencies

Page 16 of 19

0.4.8

* An attribute that is written as a size 1 array is now converted to a scalar. This fixes the reading of size 1 string arrays.

0.4.7

- There were problems with including resource files in the PyPI distribution. This version is otherwise unchanged from v0.4.6.

0.4.6

- Improved flexibility of selecting signals and axes when plotting or setting the signal in a group
- Improved handling of non-compliant axis assignments in a plottable group
- Improved plots of NXlog groups
- Fixed bug in renaming linked items
- Fixed bug where changing the plot limits failed when one of the values was 0
- Fixed bug in plotting groups containing other groups

0.4.5

- Major refactoring of NXPlotView to fold in NXplot functionality, creating a simpler class structure
- Addition of 'plotview' functions to draw lines, rectangles, circles and ellipses
- If nexpy is invoked from the command line with a NeXus file as first argument, the file is loaded on startup
- Added a version number to the main window title
- Casts assignments of NXfields to attributes as Numpy arrays
- Improved handling of non-compliant NXdata groups
- Fixed rename and makelink bugs
- Fixed a masked array bug

0.4.4

- The function for removing singleton axes in data projections did not work with the new group-level `axes` attribute.

0.4.3

- Improved compatibility between NXfields and Numpy arrays, through the definition of more operators (int(), float(), <, >, <=, etc.) and addition of **array_wrap** function. This means that np.sin(x), where x is an NXfield, will return an NXfield of the same name. Please note that this could break some scripts that assume an ndarray is returned.
- Fixed a bug in initializing an NXdata group with multiple NXfields of the same name.
- Added the possible specification of NXdata 'signal' and 'axes' as group attributes, rather than attributes of the signal field. This tests a proposal that has not been formally ratified by the NIAC. The previous system will still work.
- The ‘nxtitle’ property has the root name added to ‘nxpath’, if there is no title specified.
- Fixed a bug where multiple NXPlotView windows could be created with the same label. If a new one is created, the old one is now deleted.
- Added new 'plotview' functions to plot lines, cross-hairs, circles, and rectangles to a plot. This can be done from the IPython shell, _e.g_, `plotview rectangle(x, y, dx, dy)`.
- Colorized the log display. Traceback messages contained ANSI colors, which were previously stripped from the output.

Page 16 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.