Open gfabbris opened 2 years ago
The load_images function is a bit slow, especially the normalization. Took ~ 40 seconds to load 5 scans with 392 images in each (goes to ~ 26 if normalization not used). I expected this to be very fast since it's using dask all the way.
load_images
The RXES data processing is also very slow, ~ 5-7 min to process the same 5 scans/392 images each.,
Seems like it's faster if we get the images (.compute()) before extracting the spectrum. By ~ 5 times.
.compute()
The
load_images
function is a bit slow, especially the normalization. Took ~ 40 seconds to load 5 scans with 392 images in each (goes to ~ 26 if normalization not used). I expected this to be very fast since it's using dask all the way.