pycroscopy / sidpy

Python utilities for storing, processing, and visualizing spectroscopic and imaging data
https://pycroscopy.github.io/sidpy/
MIT License
11 stars 14 forks source link

nested dictionary from nested group in HDF5 #99

Closed ssomnath closed 2 years ago

ssomnath commented 3 years ago

I think it would be good to have a function that can read nested groups + attributes as a nested dictionary

gduscher commented 3 years ago

I agree, if we abandon flattening the dictionary this would make pyNSID more compatible with NeXus, and the hdf5 files would be easier to read.

gduscher commented 3 years ago

Should be adressed in pyNSID

ssomnath commented 3 years ago

Actually, this is a generic enough function that it should probably stay in sidpy. I think we should keep clearly NSID specific stuff in pyNSID.