jrkerns / pylinac

An image analysis library for medical physics
https://pylinac.readthedocs.io/en/latest/
MIT License
157 stars 99 forks source link

Dynalog MU Information Not Extracted Correctly #484

Closed RS14678 closed 7 months ago

RS14678 commented 9 months ago

Describe the bug I am trying to use the pylinac library to convert Dynalog log files to DICOM files. However, I have noticed that the extracted MU values from the Dynalog log files always seem to be in the range of 0-25000, and I am unsure if this is indicative of missing MU information or if there's a specific method to retrieve the correct MU information.

ECD80F73-705B-411a-9ED8-BF09645F73D2

jrkerns commented 9 months ago

Per the Dynalog File format specification document (2013):

image

Unless there is a newer spec.

RS14678 commented 9 months ago

Thanks James, Does the statement "all dose fractions range from 0 to 25000" indicate that the MU values retrieved from axis_data.mu.actual are inherently limited or devoid of meaning? Is there a specific calculation method to accurately derive MU information from Dynalog logs? I am eager to receive guidance on extracting the actual MU values. Looking forward to your reply.

jrkerns commented 8 months ago

It means the MU are all relative. You'd have to know the MU from, say, the RT plan and then normalize the relative MU to the planned MU.

RS14678 commented 8 months ago

Thank you so much, according to the method you provided, I have got the data I want.