Large ModuloAlongT data - import is slow
Posted: Mon Dec 09, 2013 3:35 pm
Hi All,
Our FLIMfit software can work with non-imaging ("single-pixel") data.
When importing such data to Omero, the lifetime axis is chosen to be not XY - the convention is ModuloAlongT.
For such "single-pixel" data, I noticed that placing lifetimes along non-XY dimension is very slow.
In particular, we have real-world high-resolution 31 channel TCSPC data from cuvette system (X=1, Y=1, Z=1, T=4096, C=31).
Every 4096-bin channel is imported in 30 seconds, so it takes 16 minutes to import the whole 1.3M file.
My laptop is slow but I think the problem is still there, - for the comparison, the 32M (4-channel 128x128 256-bin) sdt image is imported in 30 seconds.
The slow part of the code is this, and the problem is most likely in "setPlane" function.
Is it possible to speed it up, say if applying other "set" function?
Thanks,
Y.
Our FLIMfit software can work with non-imaging ("single-pixel") data.
When importing such data to Omero, the lifetime axis is chosen to be not XY - the convention is ModuloAlongT.
For such "single-pixel" data, I noticed that placing lifetimes along non-XY dimension is very slow.
In particular, we have real-world high-resolution 31 channel TCSPC data from cuvette system (X=1, Y=1, Z=1, T=4096, C=31).
Every 4096-bin channel is imported in 30 seconds, so it takes 16 minutes to import the whole 1.3M file.
My laptop is slow but I think the problem is still there, - for the comparison, the 32M (4-channel 128x128 256-bin) sdt image is imported in 30 seconds.
The slow part of the code is this, and the problem is most likely in "setPlane" function.
- Code: Select all
...
bytear = ConvertClientToServer(pixels, plane) ;
rawPixelsStore.setPlane(bytear, int32(z-1), int32(c-1), int32(t-1));
...
Is it possible to speed it up, say if applying other "set" function?
Thanks,
Y.