Record creation#

Empty records#

database([path])

create a new database in memory or open an existing one on disk.

patient([in_database])

Create an empty DICOM patient record.

study([in_patient, in_database])

Create an empty DICOM study record.

series([dtype, in_study, in_database])

Create an empty DICOM series.

Series from value#

as_series(array[, coords, dtype, in_study, ...])

Create a DICOM series from a numpy array.

zeros(shape[, coords])

Create a DICOM series populated with zeros.

ones(shape[, coords])

Create a DICOM series populated with ones.

Reference objects#

database_hollywood()

Create an empty toy database for demonstration purposes.