pydicom.filewriter.write_dataset

pydicom.filewriter.write_dataset(fp, dataset, parent_encoding='iso8859')[source]

Write a Dataset dictionary to the file. Return the total length written.