BYUCamachoLab / emepy

https://emepy.rtfd.io
MIT License
34 stars 8 forks source link

Upgrade: EME Algorithm Vectorization #16

Open hammy4815 opened 2 years ago

hammy4815 commented 2 years ago

Currently the mode overlaps are computed with vectorized numpy matrix inner products. However, various modes and various layers are accessed via lots of loops (literal while and for loops). There could be some speed improvements if we vectorize the entire process. Or conditional vectorization based on the optical resolution of each 2d grid. If it's super dense, vectorizing across modes as well may require too much memory.

hammy4815 commented 2 years ago

I've completed the vectorization, currently on new branch testing changes before merge