yt.frontends.stream.data_structures.StreamHierarchy.partition_index_3d

StreamHierarchy.partition_index_3d(ds, padding=0.0, rank_ratio=1)