download_frog

download_frog#

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

Download frog 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
>>> cpos = pv.CameraPosition(
...     position=(842.9, -574.2, -440.8),
...     focal_point=(249.5, 234.5, 101.2),
...     viewup=(-0.32, 0.35, -0.88),
... )
>>> dataset = examples.download_frog()
>>> dataset.plot(volume=True, cpos=cpos)
../../../_images/pyvista-examples-downloads-download_frog-9f695cc97b2cd71f_00_00.png

See Also#

Frog Dataset

See this dataset in the Dataset Gallery for more info.

Frog Tissues Dataset

Segmentation labels associated with this dataset.