-
|
Hi, I ran the matRad_example12_simpleParticleMonteCarlo.m in matRad-dev_varRBErobOpt using the MCsquare engine. The calculation was fast when utilizing Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Both functions are doing different things for different purposes. |
Beta Was this translation helpful? Give feedback.
Both functions are doing different things for different purposes.
matRad_calcDoseDirectMCdoes a forward dose calculation, i.e., takes a plan with optimized weights and runs a Monte Carlo simulation. It will directly return a dose cube within matRad result structureresultGUI. As the beamlet weights are known, significantly less histories are needed (as some beamlets will have very low weights) than in the second case:matRad_calcParticleDoseMCwill compute the dose influence matrix, returned as thedijstruct, which can be used for optimization to determine the weights. As the weights are not known yet, each beamlet of the plan needs to be calculated to sufficient accuracy, requiring sig…