Description Usage Arguments Value Examples
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.
| 1 | HX.cost.function( d.mm, focus.FWHM.mm, fluence.cm2, field.size.mm, N.min)
 | 
| 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. | 
Single number.
| 1 | #
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.