esimiele / VMAT-TBI

ESAPI code used for VMAT TBI autoplanning
MIT License
22 stars 12 forks source link

Dose unit of system dose not match to script #38

Open pear1994 opened 3 months ago

pear1994 commented 3 months ago

Could you teach me how to change dose unit of script from cGy to Gy please.

esimiele commented 3 months ago

Sure.

  1. Open the solution in visual studio
  2. Hit Ctrl + F
  3. enter '.cGy' in the search text box
  4. Hit the arrow to the left of the search text box and select 'replace'
  5. Enter '.Gy' into the replace with text box
  6. Change the dropdown under the replace with text box to 'entire solution'
  7. Iterate through each instance of '.cGy' and change it with '.Gy'

That should take you about 95% of the way there. Then just update the dose values in all of the configuration files to Gy and you should be good to go (at least I think you should be good).

Also, highly recommend working from the latest VMAT-TBI autoplanning code repository found here: https://github.com/esimiele/VMAT-TBI-CSI

pear1994 commented 3 months ago

Thank you so much. I truly appreciate it. I will try it.😊