PlanQualityMetrics Unit Error

Sep 1, 2015 at 3:47 PM
I am attempting to use the 'PlanQualityMetrics' script from the source code provided, and I am getting an error regarding dose units that prevents the script from completing.

After the DVHs for the plan have been calculated, I get a dialog box with the error "Dose units do not match." I have tried switching between relative and absolute units in Eclipse, and modifying some of the source code regarding dose units, but I haven't yet found a solution.

I have also replaced the two reference files (i.e. VMS.TPS.Common...) with the proper files.

Any help is appreciated.
Thanks.
Coordinator
Sep 1, 2015 at 4:31 PM
Your system's absolute dose unit is cGy, but the metrics defined in UserDefinedMetrics.cs in the script are in Gy. You need to convert those numbers to cGy and change the unit. That should do it.