Skip to content

Add locals for eval#15

Merged
DanPorter merged 2 commits intomasterfrom
add_locals_for_eval
Mar 24, 2025
Merged

Add locals for eval#15
DanPorter merged 2 commits intomasterfrom
add_locals_for_eval

Conversation

@DanPorter
Copy link
Copy Markdown
Collaborator

Version 0.8.1

Added locals and named expressions in eval commands.

hdfmap_class.py

  • Added add_local(**kwargs) to add data accessed by eval
  • Added add_named_expression(**kwargs) to add short-hand expressions
  • now uses is_image to determine if datasets are image data

nexus.py

  • updated title in plot
  • updated self.generate_image_data_from_nxdetector() to use is_image()
  • changed generate_image_data_from_nxdetector() to add {detector}_image_list when image_data is available.

eval_functions.py

  • updated eval_hdf() for new inputs
  • added is_image() test

test_hdfmap_class.py

  • added additional tests for new functionality

Updated docs.

All tests complete

Added locals and named expressions in eval commands.

hdfmap_class.py
 - Added add_local(**kwargs) to add data accessed by eval
 - Added add_named_expression(**kwargs) to add short-hand expressions

eval_functions.py
 - updated eval_hdf() for new inputs

test_hdfmap_class.py
 - added additional tests for new functionality

Updated docs.

All tests complete
Added locals and named expressions in eval commands.

hdfmap_class.py
 - Added add_local(**kwargs) to add data accessed by eval
 - Added add_named_expression(**kwargs) to add short-hand expressions
 - now uses is_image to determine if datasets are image data

nexus.py
 - updated title in plot
 - updated self.generate_image_data_from_nxdetector() to use is_image()
 - changed generate_image_data_from_nxdetector() to add {detector}_image_list when image_data is available.

eval_functions.py
 - updated eval_hdf() for new inputs
 - added is_image() test

test_hdfmap_class.py
 - added additional tests for new functionality

Updated docs.

All tests complete
@DanPorter DanPorter merged commit e5ce33b into master Mar 24, 2025
10 checks passed
@DanPorter DanPorter deleted the add_locals_for_eval branch July 7, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant