pyvista.NRRDReader

Contents

pyvista.NRRDReader#

class NRRDReader(*args, **kwargs)[source]#

NRRDReader for .nrrd and .nhdr files.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_beach(load=False)
>>> filename.split("/")[-1]  # omit the path
'beach.nrrd'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-NRRDReader-1_00_00.png

Methods

Attributes