A Capillary tube allowing for reflections along the tube. A material coating can be applied. Multilayer
coatings may be handled by generating a reflectivity file (e.g. by IMD) and setting rtable=1.
Waviness is implemented using the model described in
Wang et.al., J. Appl. Phys., 1996
where the grazing incidence angle $\theta$ is altered as
$\theta' = \theta + \delta \theta \in [-min(theta,\Delta\theta,\Delta\theta]$
This ensures that reflected rays will never be scattered into the capillary.
\Delta\theta is the value specified by the parameter waviness.
Parameters in boldface are required;
the others are optional.
If non-zero, waviness is purely longitudinal in its nature.
Radius of curvature.
Length of the unbent mirror.
Fixed constant reflectivity
if nonzero, the coating file contains an E,theta paramterized matrix of raw reflectivities.
The momentaneous waviness is uniformly distributed in the range [-waviness,waviness].