download_headsq#
- download_headsq(load: bool = True) ImageData | str[source]#
Download the headsq dataset.
The headsq dataset is a 3D MRI scan of a human head.
Added in version 0.44.0.
Note
load=Falsereturns only the file which is read directly, not the other files downloaded alongside it. This is a legacy quirk of theloadargument. For every file belonging to this example, useexamples.get_example('headsq').paths.- Parameters:
- Returns:
- output
pyvista.ImageData|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
>>> from pyvista import examples
>>> mesh = examples.download_headsq()
>>> mesh.plot(cpos='xy')
See Also#
- Headsq Dataset
See this dataset in the Dataset Gallery for more info.