powderday
powderday copied to clipboard
update gadget/gizmo front ends to only build from PartType0
notes in yt slack:
YTOctree(left_edge=None, right_edge=None, n_ref=32, ptypes=None, ds=None, field_parameters=None)
where:
| ptypes: list
| This is the type of particles to include when building the tree. This
| will default to all particles.
based on conversations with @aussing and tied to this issue:
https://github.com/dnarayanan/powderday/issues/146
this will hopefully dramatically reduce the computation time for very large datasets
update - this is the magic line:
octree = ds.octree(left_edge = None, right_edge =None, ptypes=['PartType0'])