HT.cost.function: HX.cost.function

Description Usage Arguments Value Examples

Description

Computes cost function to be optimized by HX.optimize.field. It depends on the homogeneity of fluence and penalized heavily particle numbers below the minimum limit.

Usage

1
HX.cost.function( d.mm, focus.FWHM.mm, fluence.cm2, field.size.mm, N.min)

Arguments

d.mm

Value for distance d (in mm).

focus.FWHM.mm

FWHM size of double-Gaussian beam spot (in mm).

field.size.mm

Side length (in mm) of the square field in which homgenous fluence shall be obtained. Actual irradiation field will be bigger.

fluence.cm2

Particle fluence (in 1/cm2) within the homogenous field area.

N.min

Minimal number of particle per raster spot. Given by machine constraints.

Value

Single number.

Examples

1
#

HITXML documentation built on May 2, 2019, 5:25 p.m.