pyvista.examples.downloads.download_carotid#

download_carotid(load=True)[source]#

Download carotid dataset.

Parameters:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
pyvista.ImageData | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> cpos = [
...     [220.96, -24.38, -69.96],
...     [135.86, 106.55, 17.72],
...     [-0.25, 0.42, -0.87],
... ]
>>> dataset = examples.download_carotid()
>>> dataset.plot(volume=True, cpos=cpos)
../../../_images/pyvista-examples-downloads-download_carotid-1_00_00.png

This dataset is used in the following examples: