dbdicom.Record.label#

Record.label() str[source]#

Return a human-readable label describing the record.

Returns:

label with descriptive information.

Return type:

str

See also

print()

Example

Print the label of a default series:

>>> series = db.zeros((3,128,128), SeriesDescription='Empty demo')
>>> print(series.label())
Series 001 [Empty demo]