dbdicom.write_volume#

dbdicom.write_volume(vol: Volume3D, series: list, ref: list | None = None, multislice=False)[source]#

Write a vreg.Volume3D to a DICOM series

Parameters:
  • vol (vreg.Volume3D) – Volume to write to the series.

  • series (list) – DICOM series to read

  • dims (list, optional) – Non-spatial dimensions of the volume. Defaults to None.

  • multislice (bool, optional) – Whether the data are to be read as multislice or not. In multislice data the voxel size is taken from the slice gap rather thsan the slice thickness. Defaults to False.