sequencing
MLC leaf sequencing algorithms for converting fluence maps to deliverable photon IMRT plans.
- matRad_maxLeafSpeed(apertureInfo)
- call
apertureInfo = matRad_maxLeafSpeed(apertureInfo)
- input
apertureInfo: aperture info struct
- output
apertureInfo: aperture info struct
- matRad_optDelivery(result, fast)
- call
matRad_optDelivery(result,fast)
- input
result: result struct from fluence optimization/sequencing fast: 1 => fastest possible delivery
0 => mutliply delivery time by 10%
- output
apertureInfo: aperture shape info struct
- matRad_discardApertures(beam, numToKeep)
the ones with the highest intensity-area product.
- call
beam = matRad_discardApertures(beam,numToKeep)
- input
- beam: beam struct containing original shapes and
intensities
numToKeep: number of apertures to keep
- output
- beam: beam struct containing shapes and re-scaled
intensities of the apertures we are keeping
- matRad_arcSequencing(sequencing, stf, weightToMU)
the ones with the highest intensity-area product.
- call
beam = matRad_arcSequencing(sequencing, stf, weightToMU)
- input
sequencing: shape sequencing structure stf: matRad steering struct (beam geometry etc.) weightToMU: conversion factor from weight to MU
- output
- beam: beam struct with shapes and weights distributed to
the correct optGantryAngles
- matRad_engelLeafSequencing(resultGUI, stf, dij, numOfLevels, varargin)
multileaf collimator leaf sequencing algorithm for intensity modulated beams with multiple static segments accroding to Engel et al. 2005 Discrete Applied Mathematics
call
resultGUI = matRad_engelLeafSequencing(resultGUI,stf,dij,numOfLevels,visBool)
- Input:
resultGUI – resultGUI struct to which the output data will be added, if this field is empty resultGUI struct will be created
stf – matRad steering information struct
dij – matRad’s dij matrix
numOfLevels – number of intensity levels for the sequencing
- optional key-value pairs
visBool: toggle on/off visualization (optional - default: false) dynamic: toggle on/off dynamic delivery (optional - default: false)
- Output:
resultGUI – matRad result struct containing the new dose cube as well as the corresponding weights
Copyright 2015-2026 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/LICENSE.md. 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.
- matRad_sequencing2ApertureInfo(sequencing, stf)
matRad function to generate a shape info struct based on the result of multileaf collimator sequencing
call
apertureInfo = matRad_sequencing2ApertureInfo(Sequencing,stf)
- Input:
Sequencing – matRad sequencing result struct
stf – matRad steering information struct
- Output:
apertureInfo – matRad aperture weight and shape info struct
- References
Copyright 2015-2026 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/LICENSE.md. 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.
- matRad_siochiLeafSequencing(resultGUI, stf, dij, numOfLevels, varargin)
multileaf collimator leaf sequencing algorithm for intensity modulated beams with multiple static segments according to Siochi (1999) International Journal of Radiation Oncology * Biology * Physics, multileaf collimator leaf sequencing algorithm for intensity modulated beams with multiple static segments according to Siochi (1999)International Journal of Radiation Oncology * Biology * Physics, originally implemented in PLUNC (https://sites.google.com/site/planunc/)
Implemented in matRad by Eric Christiansen, Emily Heath, and Tong Xu
call
resultGUI = matRad_siochiLeafSequencing(resultGUI,stf,dij,pln) resultGUI = matRad_siochiLeafSequencing(resultGUI,stf,dij,pln,visBool)
- Input:
resultGUI – resultGUI struct to which the output data will be added, if this field is empty resultGUI struct will be created
stf – matRad steering information struct
dij – matRad’s dij matrix
numOfLevels – number of intensity levels for the sequencing
- optional key-value pairs
visBool: toggle on/off visualization (optional - default: false) dynamic: toggle on/off dynamic delivery (optional - default: false)
- Output:
resultGUI – matRad result struct containing the new dose cube as well as the corresponding weights
- References
Copyright 2015-2026 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/LICENSE.md. 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.
- matRad_aperture2collimation(pln, stf, sequencing, apertureInfo)
matRad function to convert sequencing information / aperture information into collimation information in pln and stf for field-based dose calculation
call
[pln,stf] = matRad_aperture2collimation(pln,stf,sequencing,apertureInfo)
- Input:
pln – pln file used to generate the sequenced plan
stf – stf file used to generate the sequenced plan
sequencing – sequencing information (from resultGUI)
apertureInfo – apertureInfo (from resultGUI)
- Output:
pln – matRad pln struct with collimation information
stf – matRad stf struct with shapes instead of beamlets
- References
Copyright 2022-2026 the matRad development team. Author: wahln
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/LICENSE.md. 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.
- matRad_leafTouching(apertureInfo)
Currently only works with VMAT, add option to work with IMRT (not as crucial)
- call
apertureInfo = matRad_leafTouching(apertureInfo)
- input
apertureInfo: matRad aperture weight and shape info struct
- output
apertureInfo: matRad aperture weight and shape info struct
References
- matRad_xiaLeafSequencing(resultGUI, stf, dij, numOfLevels, varargin)
multileaf collimator leaf sequencing algorithm for intensity modulated beams with multiple static segments according to Xia et al. (1998) Medical Physics
call
resultGUI = matRad_xiaLeafSequencing(resultGUI,stf,dij,numOfLevels) resultGUI = matRad_xiaLeafSequencing(resultGUI,stf,dij,numOfLevels,Name,Value,…)
- Input:
resultGUI – resultGUI struct to which the output data will be added, if this field is empty resultGUI struct will be created
stf – matRad steering information struct
dij – matRad’s dij matrix
numOfLevels – number of intensity levels for the sequencing
- optional key-value pairs
visBool: toggle on/off visualization (optional - default: false) dynamic: toggle on/off dynamic delivery (optional - default: false)
- Output:
resultGUI – matRad result struct containing the new dose cube as well as the corresponding weights
Copyright 2015-2026 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/LICENSE.md. 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.