dbdicom.Record.database#

Record.database()[source]#

Return the database of the record.

Returns:

Database of the record

Return type:

Database

Example

Get the database of a study:

>>> study = db.study()
>>> database = study.database()
>>> print(database.label())
Database [in memory]