Closed ssomnath closed 2 years ago
Can we consider hyperspy objects to simply be a type of 'file'?
That is indeed one way of looking at it. The challenge is that we also need to accommodate code that does the reverse - take sidpy.Dataset and help you go out of the ecosystem.
I added a hyperspy converter, to make it clear that it is not a file, but it is handled in the same way as a file.
Functions to translate to and from HyperSpy's Signal objects to go into SciFiReaders (rather than sidpy). I realize now that we have two separate objectives in SciFiReaders:
How best do we organize the package then? Should we have a fork at the very top that splits between Readers and "Object Translators" or should we keep the existing modality-based organization and mix Readers with "Object Translators"? This is up for debate. I think it should be the former but could also work with the latter. I do not think it makes much sense to have a dedicated package just for "Object Translators"