-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSA header tutorial #119
Comments
Hi Kevin, I'm not sure if I understand the issue well enough to help – will you be able to provide a file I can try to read? Or an exception you're raising? |
Hi Zvi Sorry for not explaining better from your csa header tutorial form these lines of code:
(we can also use the
|
If I understand correctly, you have the contents of CSA header ( from dicom_parser.utils.siemens.csa.header import CsaHeader
csa = CsaHeader(raw_csa)
parsed = csa.read() Does that resolve your issue? |
Hi
I'm trying to implement your csa header function. I followed the tutorial here:
https://github.com/open-dicom/dicom_parser/blob/main/docs/siemens/csa_headers.rst#id10
I have raw_csa that i need to read. However .parse() is no longer valid. Can you please help with reading the csa dictionary values like before. This is your example i found in dcm2nii forum:
from dicom_parser import Header
header = Header(image)
csa = header.get(("0029", "1010"))
csa['B_matrix']
output: gives me a dictionary of values
Is there a tutorial or way to do this for raw_csa. Thank you for your help.
Kevin
The text was updated successfully, but these errors were encountered: