Releases: DiamondLightSource/hdfmap
Releases · DiamondLightSource/hdfmap
Version 1.2.0
Improvements
- NexusLoader class now stores data locally, so re-loading datasets is faster, but each file has it's own data, not shared by hdfmap.
- more docs, tests etc.
What's Changed
- 37 resserved keyword filepath overwritten by nexus field by @DanPorter in #39
- add alternate names check by @DanPorter in #41
- 42 multiple instances of hdfloader contain the same local namespace by @DanPorter in #43
- add to eval and format docs by @DanPorter in #44
Full Changelog: v1.1.0...v1.2.0
Version 1.1.0
Added new functionality to HdfMap:
generate_idsfunction added
For example:
x_label, y_label, detector, expression = m.generate_ids('axes', 'signal', 'IMAGE', 'x-y/y', modify_missing=False)What's Changed
- fix for #35 by @DanPorter in #36
Full Changelog: v1.0.2...v1.1.0
Version 1.0.2
Several fixes for issues found in previous versions.
- Fixed wrong choice of axes in get_plot_data function.
- fixed re-loading of previous file data when using eval.
What's Changed
- fix wrong choice of axes by @DanPorter in #32
- Add use_stored_data method by @DanPorter in #34
Full Changelog: v1.0.1...v1.0.2
Version 1.0.1
add new functionality to HdfMap object:
ii = HdfMap.create_interpreter()- create interpreter object that will evaluate strings and load dataHdfMap.add_roi(...)- wrapper to easily add region of interest to named expressions.
What's Changed
- Add ast interpreter option by @DanPorter in #30
Full Changelog: v1.0.0...v1.0.1
Version 1.0.0
Key changes:
- added dependency asteval
- refactored eval functions and removed insecure use of eval
- added
d_*name*pattern to load datasets - added tests
- improved docs
What's Changed
- replace evil eval with asteval by @DanPorter in #28
Full Changelog: v0.9.4...v1.0.0
Version 0.9.4
Key Changes:
- various bug fixes and minor changes
- change to default behaviour of print(hdfmap)
- refinements to the methodology of selecting scannables, with a check that the number of scannables must be greater than the dimension.
What's Changed
- 23 signal and axes not in scannables by @DanPorter in #24
- July25 minor improvements by @DanPorter in #25
- july25_minor_improvements by @DanPorter in #26
Full Changelog: v0.9.3...v0.9.4
Version 0.9.3
Key Changes:
- Change to format of values converted to string from numeric datasets
What's Changed
- 20 incorrect rounding of field with decimals attribute by @DanPorter in #21
Full Changelog: v0.9.2...v0.9.3
Version 0.9.2
Key changes:
- Improve hdfmap.hdf_tree_string output
- Provide tests and docs for utility functions
- Remove omission of h5py.SoftLinks from HdfMap.datasets
What's Changed
- Allow scannables from links by @DanPorter in #19
Full Changelog: v0.9...v0.9.2
Version 0.9
Key changes:
- HdfMap now has method add_local(**kwargs) to add data accessible in eval
- HdfMap now has method add_named_expression(**kwargs) to add short-hand expressions
- Changed the population behaviour of image_data so only datasets with more dimensions and scannables_shape() are allowed.
- names from image_data, including the new default IMAGE are now included in combined.
What's Changed
- Add locals for eval by @DanPorter in #15
- Version 0.9.0 by @DanPorter in #17
Full Changelog: v0.8...v0.9
v0.8
Version 0.8
Add support for detectors with image_data file paths, plus improvements to NeXus defaults and other stuff.
hdf_loader.py
- added standard arguments 'swmr=True' and 'libver=latest' to h5py.File usages.
hdfmap_class.py
- removed several unused 'info_...' funcitons, replaced with 'info_names(...)'
- added first_last_scannables function
- added 'numeric_only' option to get_scannables
- improved doc strings
nexus.py
- improved info_nexus output
- renamed 'nexus_defaults' to 'nexus_default_paths'
- added 'nexus_default_names'
- added collection of 'image_data' filename detector datasets, image_data now may contain paths to non-numeric datasets (docs updated)
- get_plot_data improved using new functions.
test_edge_cases.py
- added additional edge case files and regenerated test_files.json
pypi-publish.yml
- updated to v4 of the artifact actions to fix depreciation error
What's Changed
- fixes for eval and str array by @DanPorter in #13
- Add image data by @DanPorter in #14
Full Changelog: v0.7.0...v0.8