pyvista.examples.downloads.download_crater_imagery

pyvista.examples.downloads.download_crater_imagery#

download_crater_imagery(load=True)[source]#

Download crater texture.

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.Texture | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> cpos = [
...     [66.0, 73.0, -382.6],
...     [66.0, 73.0, 0.0],
...     [-0.0, -1.0, 0.0],
... ]
>>> texture = examples.download_crater_imagery()
>>> texture.plot(cpos=cpos)
../../../_images/pyvista-examples-downloads-download_crater_imagery-1_00_00.png

See also

Crater Imagery Dataset

See this dataset in the Dataset Gallery for more info.

Topographic Map

Example using this dataset.