download_head#
- download_head(load: bool = True) ImageData | str[source]#
Download head dataset.
- Parameters:
- Returns:
- output
pyvista.ImageData|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> dataset = examples.download_head()
>>> pl = pv.Plotter()
>>> _ = pl.add_volume(dataset, cmap='cool', opacity='sigmoid_6')
>>> pl.camera_position = pv.CameraPosition(
... position=(-228.0, -418.0, -158.0),
... focal_point=(94.0, 122.0, 82.0),
... viewup=(-0.2, -0.3, 0.9),
... )
>>> pl.show()
See also
- Head Dataset
See this dataset in the Dataset Gallery for more info.
- Medical Datasets
Browse other medical datasets.
- Volume Rendering
Example using this dataset.