create.field: Create a field object (dataframe)

View source: R/beams-functions.R

create.fieldR Documentation

Create a field object (dataframe)

Description

The field object is a dataframe. Different fields are added by apending rows to the dataframe. Each of the following parameter is a dataframe column.

Usage

create.field(N = 1, beamLine = "protonSimple", targetVOI = "PTV",
  targetVOIIndex = NA, iecGantryAngle = 0,
  iecPatientSupportAngle = 0, interSpotSpacing = c(1.2, 1.2, 1.2),
  spotsExtensionOutsideTarget = 0, targetIsocenter = c(NA, NA, NA))

Arguments

N

number of fields.

targetVOIIndex

the index of the target VOI.

iecGantryAngle

gantry angle.

iecPatientSupportAngle

patient support angle.

interSpotSpacing

spacing among spots along the three axis of the beam port (mm).

spotsExtensionOutsideTarget

thickness of the extension of the spot coverage outside the target VOI.

targetIsocenter

coordinates of the isocenter of the target VOI.

See Also

Other Beams: add.field, convert.fluence2mu, convert.mu2fluence, create.beam, display.beamports, display.beams, get.beams, get.ct.entrance.point, get.isocenter, get.rays, read.beams, write.beams


planit-group/Rplanit documentation built on Dec. 5, 2022, 11:10 p.m.