yt.data_objects.data_containers.YTSelectionContainer.save_object

YTSelectionContainer.save_object(name, filename=None)

Save an object. If filename is supplied, it will be stored in a shelve file of that name. Otherwise, it will be stored via yt.data_objects.api.GridIndex.save_object().