dbdicom.to_nifti# dbdicom.to_nifti(series: list, file: str, dims: list | None = None, verbose=1)[source]# Save a DICOM series in nifti format. Parameters: series (list) – DICOM series to read file (str) – file path of the nifti file. dims (list, optional) – Non-spatial dimensions of the volume. Defaults to None. verbose (bool, optional) – If set to 1, shows progress bar. Defaults to 1.