recommendations for loading data in neighbourhood of a halo
Zephyr Penoyre
8 May '20
i'm having a play around with accretion onto halos - which requires particle data out a few virial radii (i.e. a larger region than is associated with the halo in the group catalog) and wondering if anyone has any tips for efficiently loading the data.
i can grab the particle data for the whole box, and then throw away 99% of it, but that's quite inefficient
would there be any way to add some functionality to the load_subset() function (in python)? maybe specifying a location in box, and the side length of a cube centred around that location.
e.g. in co-ords such that the box spans 0->1 in x,y,z you might call
load_subset(..., loc=[0.5,0.3,0.2], sideLength=0.1)
thus you'd only be accessing 0.1^3 (0.1%) of the particles, but over a much larger region than a single halo.
Zephyr Penoyre
8 May '20
currently trying to do call load_subset() with the web based api, even on TNG_100_3_Dark, seems to timeout before the request is complete
i'm having a play around with accretion onto halos - which requires particle data out a few virial radii (i.e. a larger region than is associated with the halo in the group catalog) and wondering if anyone has any tips for efficiently loading the data.
i can grab the particle data for the whole box, and then throw away 99% of it, but that's quite inefficient
would there be any way to add some functionality to the load_subset() function (in python)? maybe specifying a location in box, and the side length of a cube centred around that location.
e.g. in co-ords such that the box spans 0->1 in x,y,z you might call
load_subset(..., loc=[0.5,0.3,0.2], sideLength=0.1)
thus you'd only be accessing 0.1^3 (0.1%) of the particles, but over a much larger region than a single halo.
currently trying to do call load_subset() with the web based api, even on TNG_100_3_Dark, seems to timeout before the request is complete