scverse / squidpy

Spatial Single Cell Analysis in Python
https://squidpy.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
440 stars 82 forks source link

sq.gr.ripley() cost too much memory #870

Open wangjiawen2013 opened 3 months ago

wangjiawen2013 commented 3 months ago

Hi, sq.gr.ripley() cost too much memory (600G) when analysing large datasets (such as xenium, up to 250,000 cells). The memory was exhausted and the analysis was interrupted.

giovp commented 3 months ago

hi @wangjiawen2013 , I can see the problem, unfort I don't have capacity to write a memory efficient implementation. Any help would be highly appreciated.