pyvista.examples.downloads.download_ivan_angel

pyvista.examples.downloads.download_ivan_angel#

download_ivan_angel(load=True)[source]#

Download a scan of an angel statue created by Ivan Nikolov.

The dataset was downloaded from GGG-BenchmarkSfM: Dataset for Benchmarking Close-range SfM Software Performance under Varying Capturing Conditions

Original datasets are under the CC BY 4.0 license.

For more details, see Ivan Nikolov Datasets

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

DataSet or filename depending on load.

Examples

Download and plot the dataset.

>>> from pyvista import examples
>>> mesh = examples.download_ivan_angel()
>>> cpos = [
...     (-476.14, -393.73, 282.14),
...     (-15.00, 11.25, 44.08),
...     (0.26, 0.24, 0.93),
... ]
>>> mesh.plot(cpos=cpos)
../../../_images/pyvista-examples-downloads-download_ivan_angel-1_00_00.png

Return the statistics of the dataset.

>>> mesh
PolyData (...)
  N Cells:    3580454
  N Points:   1811531
  N Strips:   0
  X Bounds:   -1.147e+02, 8.468e+01
  Y Bounds:   -6.996e+01, 9.247e+01
  Z Bounds:   -1.171e+02, 2.052e+02
  N Arrays:   0

See also

Ivan Angel Dataset

See this dataset in the Dataset Gallery for more info.