How to generate the required TOPAS parameter files #636
-
Hi matRad Expert Now I am trying to use dev_varRBErobOpt, to generate the TOPAS parameter file, I see example is matRad_example12_simpleParticleMonteCarlo m files. I set the following command according to the prompt, but it doesn't seem to record any TOPAS parameters, which confuses me. your sincerely; |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
If no error occured, parameter files will be created in the subfolder topas/MCrun. |
Beta Was this translation helpful? Give feedback.
-
Hello Yuri, Here is a list of changes that you can introduce to make this matRad script work:
This will disable the RBE distribution calculation and optimization.
When correctly run, matRad will save the parameter files in the directory Please note that the dev_varRBErobOpt branch is still under development and has not yet been fully tested. Updates are indeed continuously provided. Please find attached a modified version of your script that includes the above mentioned changes. I remain at your disposal for any further clarification. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Remo, Thank you for your reply.
Then there will be some errors, I don't know how to solve them Looking forward your relpy. |
Beta Was this translation helpful? Give feedback.
-
Hi Yuri, However, I suggest you apply the same approach you correctly setup for the proton case. Let me know if you have any further question, P.S. I notice from the proton script that you are trying to setup an RBE weighted dose optimization. This is totally possible in matRad, but the ' |
Beta Was this translation helpful? Give feedback.
-
Hi Remo, Thank you very much for your reply and suggestions I did use the matRad_calcParticleDose function to calculate the dij of the carbon ion, which would give a good weight, but matlab would give an error saying "The sample points must be finite". This question bothers me too. Looking forward to your suggestions. your sincerely, Yuri |
Beta Was this translation helpful? Give feedback.
-
Hi Remo, I am sending this email to ask you a new question. After successfully executing the code, I got a matRad_cube.dat, and I wanted to know what tool I could use to read the information in this format file. So far I've tried a few plain text readers like notepad and I've also tried visual studio but it doesn't work. Sorry to bother you again, looking forward to your reply. your sincerely, |
Beta Was this translation helpful? Give feedback.
Hi Yuri,
the function that gives that error message seems to be in the class matRad_MCEmittanceBaseData. Please check that particularly lines
502-503
in that function are up to date. One of the last commits (https://github.com/e0404/matRad/commit/99eaa34bff3b9089dcefd6d6353735e3e4bfec05) on the branch addresses precisely those lines.Please also check that the whole function is updated, it has undergone some fixes in the past days.
Let me know if this solves the issue,
best
Remo