download_gpr_data_array#

download_gpr_data_array(load=True)[source]#

Download GPR example data array.

Parameters
loadbool, optional

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

Returns
numpy.ndarray or 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 Drape 2D Surface From Line for an example using this dataset.