Skip to content

Commit

Permalink
Update matRad_TopasMCEngine.m
Browse files Browse the repository at this point in the history
  • Loading branch information
JenHardt committed Mar 1, 2024
1 parent 52ec836 commit fe86076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doseCalc/+DoseEngines/matRad_TopasMCEngine.m
Original file line number Diff line number Diff line change
Expand Up @@ -1800,8 +1800,8 @@ function writeStfFields(obj,ct,stf,w,baseData)

if isfield(stf.ray, 'collimation')
% Use field width for now
fprintf(fileID,'d:So/PencilBeam/BeamPositionSpreadX = %d mm\n', stf.ray.collimation.fieldWidth);
fprintf(fileID,'d:So/PencilBeam/BeamPositionSpreadY = %d mm\n', stf.ray.collimation.fieldWidth);
fprintf(fileID,'d:So/PencilBeam/BeamPositionSpreadX = %d mm\n', stf(1).ray.collimation.fieldWidth);
fprintf(fileID,'d:So/PencilBeam/BeamPositionSpreadY = %d mm\n', stf(1).ray.collimation.fieldWidth);
else
% Set some default value
fprintf(fileID,'d:So/PencilBeam/BeamPositionSpreadX = %d mm\n', 30);
Expand Down

0 comments on commit fe86076

Please sign in to comment.