download_knee_full

download_knee_full#

download_knee_full(load: bool = True) ImageData | str[source]#

Download full knee 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:
outputpyvista.ImageData | str

DataSet or filename depending on load.

Examples#

Download Python source code | Download Jupyter notebook

>>> from pyvista import examples
>>> import pyvista as pv
>>> dataset = examples.download_knee_full()
>>> cpos = pv.CameraPosition(
...     position=(-381.74, -46.02, 216.54),
...     focal_point=(74.8305, 89.2905, 100.0),
...     viewup=(0.23, 0.072, 0.97),
... )
>>> dataset.plot(volume=True, cmap='bone', cpos=cpos, show_scalar_bar=False)
../../../_images/pyvista-examples-downloads-download_knee_full-03161188a73148f7_00_00.png

See also

Knee Full Dataset

See this dataset in the Dataset Gallery for more info.

Knee Dataset

This dataset is used in the following examples: