Trying to access MosaicRefAcqTimes with .get returns None #1665
-
Hello, I am trying to look at the MosaicRefAcqTimes, via Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is a private tag, it cannot be accessed using a description string - you need the tag ID instead, e.g. something like block = ds.private_block(0x0009, 'SIEMENS MR HEADER')
if block and 0x29 in block:
value = block[0x29].value |
Beta Was this translation helpful? Give feedback.
-
Thanks. For future reference, I'll share the solution for others.
Accessed via:
The 2x1 tuple |
Beta Was this translation helpful? Give feedback.
This is a private tag, it cannot be accessed using a description string - you need the tag ID instead, e.g. something like
ds.get(0x00191029)
, or, more accurately, access it via the private block as shown in the documentation: