pyvista.examples.downloads.download_gpr_data_array#

download_gpr_data_array(load=True)[source]#

Download GPR example data array.

Parameters:
loadbool, default: True

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

Returns:
numpy.ndarray | str

Array or filename depending on load.

Examples

>>> from pyvista import examples
>>> dataset = examples.download_gpr_data_array()  
>>> dataset  
array([[nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       ...,
       [ 0.,  0.,  0., ...,  0.,  0.,  0.],
       [ 0.,  0.,  0., ...,  0.,  0.,  0.],
       [ 0.,  0.,  0., ...,  0.,  0.,  0.]])

See also

Gpr Data Array Dataset

See this dataset in the Dataset Gallery for more info.

Gpr Path Dataset

Drape 2D Surface From Line

Example using this dataset.