download_moonlanding_image#

download_moonlanding_image(load=True)[source]#

Download the Moon landing image.

This is a noisy image originally obtained from Scipy Lecture Notes and can be used to demonstrate a low pass filter.

See the scipy-lectures license for more details regarding this image’s use and distribution.

Parameters
loadbool, optional

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns
pyvista.UniformGrid or str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> dataset = examples.download_moonlanding_image()
>>> dataset.plot(cpos='xy', cmap='gray', background='w', show_scalar_bar=False)
../../../_images/pyvista-examples-downloads-download_moonlanding_image-1_00_00.png

See Fast Fourier Transform for a full example using this dataset.