From 82ff42669a0dde48c7ef6a0da11a5aadef97ea8b Mon Sep 17 00:00:00 2001
From: Tamino Huxohl <thuxohl@techfak.uni-bielefeld.de>
Date: Mon, 19 Dec 2022 12:19:39 +0100
Subject: [PATCH] patient position is now also extracted from the data

---
 mu_map/data/prepare.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mu_map/data/prepare.py b/mu_map/data/prepare.py
index 58b89a8..228b2d3 100644
--- a/mu_map/data/prepare.py
+++ b/mu_map/data/prepare.py
@@ -22,6 +22,7 @@ headers.age = "age"
 headers.sex = "sex"
 headers.weight = "weight"
 headers.size = "size"
+headers.patient_position = "patient_position"
 headers.protocol = "protocol"
 headers.datetime_acquisition = "datetime_acquisition"
 headers.datetime_reconstruction = "datetime_reconstruction"
@@ -483,6 +484,7 @@ if __name__ == "__main__":
                     headers.sex: projection.PatientSex,
                     headers.weight: float(projection.PatientWeight),
                     headers.size: float(projection.PatientSize),
+                    headers.patient_position: projection.PatientPosition,
                     headers.protocol: protocol,
                     headers.datetime_acquisition: DICOMTime.Series.to_datetime(
                         projection
-- 
GitLab