Skip to content

Commit 4a6a50f

Browse files
committed
Update Example to use new stf generator formalism
1 parent c60cf57 commit 4a6a50f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/matRad_example12_simpleParticleMonteCarlo.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
%Enable/Disable use of range shifter (has effect only when we need to fill
6666
%up the low-range region)
6767
pln.propStf.useRangeShifter = false;
68+
pln.propStf.generator = 'ParticleSingleSpot';
6869

6970
%Enable LET calculation
7071
pln.propDoseCalc.calcLET = true;
@@ -74,8 +75,7 @@
7475
% pln.propMC.externalCalculation = true;
7576

7677
%% generate steering file
77-
%stf = matRad_generateStf(ct,cst,pln);
78-
stf = matRad_generateSingleBixelStf(ct,cst,pln); %Example to create a single beamlet stf
78+
stf = matRad_generateStf(ct,cst,pln);
7979

8080
%% analytical dose calculation
8181
pln.propDoseCalc.engine = 'MCsquare';

0 commit comments

Comments
 (0)