-
Notifications
You must be signed in to change notification settings - Fork 175
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
[BUG] Field SourceToSurfaceDistance Missing #575
Comments
It seem the tag is only checked here: matRad/dicom/matRad_importFieldShapes.m Line 38 in 3d29b76
SourceToSurfaceDistance (SSD) means the distance from the (virtual) photon source to the patient's surface. It is used to get the correct photon pencil-beam kernel in the SVD algorithm. I am actually not sure why it is necessary here to have the field, as it is commented in this function
and it is computed in the dose calculation anyways. So you should be OK with overriding this value in your DICOM RTPlan / changing the code to not obtain this field at all. |
Sounds good! As an aside, is there any test DICOM dataset for MatRad for simply creating a |
Unfortunately not really. Particuarly not for RTPlan & RTDose (would be good to have this in a testing pipeline though). The only thing coming to my mind is the CORT dataset. These are the phantoms/patients within the mat files coming with matRad, and the corresponding DICOMs can be found here: https://academic.oup.com/gigascience/article/3/1/2047-217X-3-37/2682969 |
Also since you aren't sure why the field is necessary as the line is commented out anyways in |
A PR would be nice (of course add your name to the AUTHORS file as well then in the PR, if it is not already there ;-) ). |
Describe the bug
It seems that while trying to adapt/calibrate a phantom DICOM dataset to import in MatRad, the
SourceToSurfaceDistance
tag is missing.I hard coded a value of 50 cm assuming its the distance from the jaw but I just wanted to see if there's any reason why specific meta tags would be missing a value. From the comments in the code it seems that all of this info is defined in the first control point sequence and the only value missing for my dataset is the
SourceToSurfaceDistance
tag.Therefore, while trying to import an RT plan as part from the phantom dataset, is there specific info I might need to hard code in to calibrate/add missing data for MatRad to generate its .m file?
I can give specific reproduction steps and/or dataset (anonymized and cleared for sharing) if needed.
The text was updated successfully, but these errors were encountered: