@@ -63,7 +63,9 @@ def image_type(self) -> str:
6363 f"Image type of { self } ({ image_type !r} ) does not match expected "
6464 f"({ self .expected_image_type !r} )"
6565 )
66- return image_type
66+ return image_type
67+ assert isinstance (self ._image_type_seq [- 1 ], str )
68+ return self ._image_type_seq [- 1 ]
6769
6870 @mtime_cached_property
6971 def _image_type_seq (self ) -> ty .List [str ]:
@@ -130,29 +132,29 @@ def dicom_header_limits(self) -> ty.Tuple[int, int]: # type: ignore[override]
130132
131133
132134class Vnd_Siemens_Biograph128Vision_Vr20b_PetListMode (
133- Vnd_Siemens_Biograph128Vision_Vr20b_PetRawData , PetListMode
135+ Vnd_Siemens_Biograph128Vision_Vr20b_LargePetRawData , PetListMode
134136):
135137 expected_image_type = "PET_LISTMODE"
136138
137139
138140class Vnd_Siemens_Biograph128Vision_Vr20b_PetSinogram (
139- Vnd_Siemens_Biograph128Vision_Vr20b_PetRawData , PetSinogram
141+ Vnd_Siemens_Biograph128Vision_Vr20b_LargePetRawData , PetSinogram
140142):
141143 "histogrammed projection data in a reconstruction-friendly format"
142144
143145 expected_image_type = "PET_SINO_DYNAMIC"
144146
145147
146148class Vnd_Siemens_Biograph128Vision_Vr20b_PetCountRate (
147- Vnd_Siemens_Biograph128Vision_Vr20b_PetRawData , PetCountRate
149+ Vnd_Siemens_Biograph128Vision_Vr20b_LargePetRawData , PetCountRate
148150):
149151 "number of prompt/random/single events per unit time"
150152
151153 expected_image_type = "PET_COUNTRATE"
152154
153155
154156class Vnd_Siemens_Biograph128Vision_Vr20b_PetNormalisation (
155- Vnd_Siemens_Biograph128Vision_Vr20b_PetRawData , PetNormalisation
157+ Vnd_Siemens_Biograph128Vision_Vr20b_LargePetRawData , PetNormalisation
156158):
157159 "normalisation scan or the current cross calibration factor"
158160
0 commit comments