Varian-Code-Samples icon indicating copy to clipboard operation
Varian-Code-Samples copied to clipboard

VMAT beams always created at the default dose rate

Open NickChng opened this issue 5 years ago • 5 comments

When creating FFF beams, why does the AddVMATBeam method ignore the FFF dose rate specified in the ExternalBeamMachineParameters object and use the default dose rate of the energy?

NickChng avatar Jun 02 '20 23:06 NickChng

Great question. I've been wondering this too. Haven't figured it out yet. If you do, please let us know.

On Tue, Jun 2, 2020 at 6:53 PM NickChng [email protected] wrote:

Why does the AddVMATBeam method ignore the dose rate specified in the ExternalBeamMachineParameters object and use the default dose rate of the energy?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/VarianAPIs/Varian-Code-Samples/issues/74, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZ3AN6GGJLMJ6MLLETWXXDRUWGJFANCNFSM4NRFPK6Q .

patm95 avatar Jun 04 '20 17:06 patm95

I've summarized my "solution" here, but it basically involves changing your default dose rate. I haven't found a way to do it within the ESAPI framework.

https://www.reddit.com/r/esapi/comments/gvdr2n/set_fff_beam_to_2400_mumin/

NickChng avatar Jun 04 '20 17:06 NickChng

Thank you for that creative solution. Unfortunately, that will not work for me as our physician will sometimes prescribe a 300 rep rate for treating GI areas. It seems from one of the posts that it is not possible to copy the dose rate in scripting. Thank you for sharing that. Hopefully there will be a better solution in future versions of Eclipse.

On Thu, Jun 4, 2020 at 12:55 PM NickChng [email protected] wrote:

I've summarized my "solution" here, but it basically involves changing your default dose rate. I haven't found a way to do it within the ESAPI framework.

https://www.reddit.com/r/esapi/comments/gvdr2n/set_fff_beam_to_2400_mumin/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/VarianAPIs/Varian-Code-Samples/issues/74#issuecomment-639010865, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZ3AN45IYWAHEBTFRVWITTRU7N2NANCNFSM4NRFPK6Q .

patm95 avatar Jun 04 '20 18:06 patm95

To clarify my original post, once the default dose rate is set to 2400, you can set lower dose rates in the ExternalBeamMachineParameters object. It's just that ESAPI seems bound from above by the default.

edit: Completely agree that this is something that should be fixed in ESAPI. In general there are lots of seemingly arbitrary limitations to the write-enabled side of the API that are very unintuitive. The tolerance tables being read-only, for example...

NickChng avatar Jun 04 '20 18:06 NickChng

This is happening only when the plans are verification plans. I`ve had that issue before. And has no fix other than setting default dose rate.

joecastelo avatar Jun 05 '20 18:06 joecastelo