Hdfmap

Latest version: v0.6.1

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

Scan your dependencies

0.6.1

Minor update with several new features and small improvements

New Features
- dataset2str can now output units
- eval('s_name') will return the string representation of the data, including units
- map.find_groups(*names_or_classes) can be used to find groups based on several keywords
- map.find_dataset(*names_or_classes) can be used to find datasets based on several keywords

**Full Changelog**: https://github.com/DiamondLightSource/hdfmap/compare/v0.6.0...v0.6.1

0.6.0

What's Changed
* Diagnostic hdf features by DanPorter in https://github.com/DiamondLightSource/hdfmap/pull/8
* Auxilliary signals by DanPorter in https://github.com/DiamondLightSource/hdfmap/pull/9

New Features
Diagnostic HDF functions:
- `hdfmap.hdf_tree_string(file.nxs)` Returns multi-line string of HDF tree structure
- `hdfmap.hdf_tree_dict(file.nxs)` Returns dictionary of HDF tree structure
- `hdfmap.hdf_compare(file1.nxs, file2.nxs)` Compare two HDF files

Auxiliary Signal support
- `nexusmap.generate_scannables_from_nxdata()` now uses auxiliary_signals if available
- `nexusmap.get_plot_data` returns dict of useful plot data
- `nexusmap.eval('nameattr')` returns attribute from dataset
- `nexusmap.eval('__signal')`returns name of signal attribute
- `nexusmap.eval(`NXclass_name`) returns dataset /entry/groupNXclass/name
- `nexusmap.get_image_shape()` returns shape of a single image
- `nexusmap.get_scannables_shape()` returns shape of each scannable.

Changed functionality
- when there is no default NXdata, scannables will be generated from all unique dataset names, but will no longer include generated names like 'group_name' and 'NXclass_name'.
- when there are no 'local_name' attributes, metadata will be taken from all size<1 datasets using dataset name, no longer including generated names.

**Full Changelog**: https://github.com/DiamondLightSource/hdfmap/compare/v0.5.1...v0.6.0

0.5.1

What's Changed
* Various improvements by DanPorter in https://github.com/DiamondLightSource/hdfmap/pull/7


**Full Changelog**: https://github.com/DiamondLightSource/hdfmap/compare/v0.5.0...v0.5.1

0.5.0

What's Changed
* Add dataset summaries + handle multi-dimensional scans by DanPorter in https://github.com/DiamondLightSource/hdfmap/pull/6
* Add catalog-info.yaml config file by DanPorter in https://github.com/DiamondLightSource/hdfmap/pull/5


**Full Changelog**: https://github.com/DiamondLightSource/hdfmap/compare/v0.4.0...v0.5.0

0.4.0

First release, should build and publish to pypi.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.