yt.data_objects.selection_data_containers.YTRegionBase.volume

YTRegionBase.volume()

Return the volume of the data container. This is found by adding up the volume of the cells with centers in the container, rather than using the geometric shape of the container, so this may vary very slightly from what might be expected from the geometric volume.