Skip to content

Releases: DiamondLightSource/hdfmap

Version 1.2.0

07 Apr 12:32

Choose a tag to compare

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

27 Oct 09:52
51b0b88

Choose a tag to compare

Added new functionality to HdfMap:

  • generate_ids function added

For example:

x_label, y_label, detector, expression = m.generate_ids('axes', 'signal', 'IMAGE', 'x-y/y', modify_missing=False)

What's Changed

Full Changelog: v1.0.2...v1.1.0

Version 1.0.2

14 Oct 14:37
6b3ef01

Choose a tag to compare

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

Full Changelog: v1.0.1...v1.0.2

Version 1.0.1

02 Sep 10:14
4a69362

Choose a tag to compare

add new functionality to HdfMap object:

  • ii = HdfMap.create_interpreter() - create interpreter object that will evaluate strings and load data
  • HdfMap.add_roi(...) - wrapper to easily add region of interest to named expressions.

What's Changed

Full Changelog: v1.0.0...v1.0.1

Version 1.0.0

29 Jul 10:18
2f203f6

Choose a tag to compare

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

Full Changelog: v0.9.4...v1.0.0

Version 0.9.4

07 Jul 13:56
1640199

Choose a tag to compare

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

Full Changelog: v0.9.3...v0.9.4

Version 0.9.3

16 Jun 13:39
d073740

Choose a tag to compare

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

29 May 12:21

Choose a tag to compare

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

Full Changelog: v0.9...v0.9.2

Version 0.9

31 Mar 12:41
3152d82

Choose a tag to compare

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

Full Changelog: v0.8...v0.9

v0.8

07 Feb 15:00

Choose a tag to compare

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

Full Changelog: v0.7.0...v0.8