dbdicom.database_hollywood#
- dbdicom.database_hollywood() Database [source]#
Create an empty toy database for demonstration purposes.
- Returns:
Database with two patients, two studies per patient and two empty series per study.
- Return type:
Database
See also
Example
>>> database = db.database_hollywood() >>> database.print() ---------- DATABASE -------------- Location: In memory Patient James Bond Study MRI [19821201] Series 001 [Localizer] Nr of instances: 0 Series 002 [T2w] Nr of instances: 0 Study Xray [19821205] Series 001 [Chest] Nr of instances: 0 Series 002 [Head] Nr of instances: 0 Patient Scarface Study MRI [19850105] Series 001 [Localizer] Nr of instances: 0 Series 002 [T2w] Nr of instances: 0 Study Xray [19850106] Series 001 [Chest] Nr of instances: 0 Series 002 [Head] Nr of instances: 0 ---------------------------------