Skip to content

Commit

Permalink
allows to compute the bixel dose when cutoff was not precomputed by s…
Browse files Browse the repository at this point in the history
…etting the compensation factor to 1
  • Loading branch information
wahln committed Jun 28, 2023
1 parent 83fc8a6 commit d5bf94a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions matRad_calcParticleDoseBixel.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
% convert from MeV cm^2/g per primary to Gy mm^2 per 1e6 primaries
conversionFactor = 1.6021766208e-02;

if ~isfield(baseData,'LatCutOff')
baseData.LatCutOff.CompFac = 1;
end

if ~isfield(baseData,'sigma')

% interpolate depth dose, sigmas, and weights
Expand Down

0 comments on commit d5bf94a

Please sign in to comment.