Calculate local overdensity without using large memory

Jinning Liang
  • 28 Feb

Hi,
I am trying to load particle data and calculate the local overdensity using particles within 3Mpc around sub halos. If I just use il.snapshot.loadSubset to load all particles and select them by their position, this will take up large memory and make it very slow. If anyway to do that easily? Do we have some way only load particles around subhalos within some distances?

Best wishes,
Jinning

Dylan Nelson
  • 2 Mar

Hi Jinning,

Please see this thread for hints, and also the scida code which may be of interest.

  • Page 1 of 1