# Examples from pyvista.DICOMReader
# =================================

# Read a DICOM stack.
import pyvista as pv
from pyvista import examples
path = examples.download_dicom_stack(load=False)
reader = pv.DICOMReader(path)
dataset = reader.read()
dataset.plot(volume=True, zoom=3, show_scalar_bar=False)

# NOTE:
#     The example dataset is the CPTAC-SAR collection from The Cancer
#     Imaging Archive, distributed under CC BY 3.0 and subject to the
#     TCIA Data Usage Policy. See
#     `download_dicom_stack()` for the
#     required attribution and usage terms.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

