matRad_collapseDij

Purpose ^

matRad collapse dij function for simulation of 3D conformal treatments.

Synopsis ^

function dijNew = matRad_collapseDij(dij)

Description ^

 matRad collapse dij function for simulation of 3D conformal treatments.
 Function to supress intensity-modulation for photons in order to simulate 
 3D conformal treatments.

 call
   dijNew = matRad_collapseDij(dij)

 input
   dij:    dose influence matrix

 output
   dijNew: collapsed dose influence matrix

 References
   -

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 Copyright 2018 the matRad development team. 
 
 This file is part of the matRad project. It is subject to the license 
 terms in the LICENSE file found in the top-level directory of this 
 distribution and at https://github.com/e0404/matRad/LICENSES.txt. No part 
 of the matRad project, including this file, may be copied, modified, 
 propagated, or distributed except according to the terms contained in the 
 LICENSE file.

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Cross-reference information ^

This function calls: This function is called by:

Source code ^

0001 function dijNew = matRad_collapseDij(dij)
0002 % matRad collapse dij function for simulation of 3D conformal treatments.
0003 % Function to supress intensity-modulation for photons in order to simulate
0004 % 3D conformal treatments.
0005 %
0006 % call
0007 %   dijNew = matRad_collapseDij(dij)
0008 %
0009 % input
0010 %   dij:    dose influence matrix
0011 %
0012 % output
0013 %   dijNew: collapsed dose influence matrix
0014 %
0015 % References
0016 %   -
0017 %
0018 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0019 %
0020 % Copyright 2018 the matRad development team.
0021 %
0022 % This file is part of the matRad project. It is subject to the license
0023 % terms in the LICENSE file found in the top-level directory of this
0024 % distribution and at https://github.com/e0404/matRad/LICENSES.txt. No part
0025 % of the matRad project, including this file, may be copied, modified,
0026 % propagated, or distributed except according to the terms contained in the
0027 % LICENSE file.
0028 %
0029 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0030 
0031 dijNew.totalNumOfBixels = 1;
0032 dijNew.totalNumOfRays   = 1;
0033 dijNew.numOfBeams       = 1;
0034 dijNew.numOfRaysPerBeam = 1;
0035 
0036 dijNew.beamNum          = 1;
0037 dijNew.bixelNum         = 1;
0038 dijNew.rayNum           = 1;
0039 
0040 dijNew.doseGrid = dij.doseGrid;
0041 dijNew.ctGrid   = dij.ctGrid;
0042 
0043 dijNew.numOfScenarios = dij.numOfScenarios;
0044 
0045 for i = 1:dij.numOfScenarios
0046     dijNew.physicalDose{i} = sum(dij.physicalDose{i},2);
0047 end
0048

| Generated by m2html © 2005