@ericpre I was wondering what changes might be necessary to properly handle lazy datasets/4D STEM.
I think with the Lazy plotting and annotations this might be a little easier/ smoother than when first tried.
General Idea:
1 - The navigator should be reused for all transformations of some lazy signal using the map function to not repeatedly compute the navigator.
2 - Any map-reduce functions should only compute when asked to (ie. Virtual imaging)
3 - Vectors signals are just displayed over the signal.
This should allow use to port most of the functions in pyxem into HyperspyUI and have pretty good functionality there.
One thing that might be nice is to have the UI running a seperate event loop and then have dask run all of the parallelization etc. I'm not sure that is the case at the moment. But with lazy signals you tend to get a lot of spinning wheels.
@ericpre I was wondering what changes might be necessary to properly handle lazy datasets/4D STEM.
I think with the Lazy plotting and annotations this might be a little easier/ smoother than when first tried.
General Idea:
1 - The navigator should be reused for all transformations of some lazy signal using the
mapfunction to not repeatedly compute the navigator.2 - Any map-reduce functions should only compute when asked to (ie. Virtual imaging)
3 - Vectors signals are just displayed over the signal.
This should allow use to port most of the functions in pyxem into HyperspyUI and have pretty good functionality there.
One thing that might be nice is to have the UI running a seperate event loop and then have dask run all of the parallelization etc. I'm not sure that is the case at the moment. But with lazy signals you tend to get a lot of spinning wheels.