yt.data_objects.grid_patch.AMRGridPatch.child_index_mask

AMRGridPatch.child_index_mask

Generates self.child_index_mask, which is -1 where there is no child, and otherwise has the ID of the grid that resides there.