dbdicom.Record.siblings#
- Record.siblings(**kwargs) list [source]#
Return all siblings of the record.
- Parameters:
kwargs – Provide any number of valid DICOM (tag, value) pair as keywords to filter the list.
- Returns:
A list of all siblings.
- Return type:
See also
parent()
children()
series()
studies()
patients()
database()
Example
Retrieve a study from a database, and find all other studies performed on the same patient:
>>> database = db.database_hollywood() >>> study = database.studies()[0] >>> print([s.StudyDescription for s in study.siblings()]) ['Xray']