yt.frontends.stream.data_structures.StreamGrid.partition_index_3d

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