get.rays: Get rays from beams

View source: R/beams-functions.R

get.raysR Documentation

Get rays from beams

Description

Get rays (normalized vector directions + absolute coordinate) in the reference frame of the CT.

Usage

get.rays(beams, s = 4000, unique.rays = FALSE)

Arguments

beams

the beams data.frame

s

distance of the source from the isocenter (it uses only one virtual source).

unique.rays

Return only unique rays

Value

data frame of rays. Each ray has 6 component: a point (X,Y,Z) on the plane passing through the isocenter, and a normalized vector for the direction (xn, yn, zn).

See Also

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


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