plotTubeTransmission

xripl.tubeTransmission.plotTubeTransmission(innerDiameter, outerDiameter, densityTube, densityFoam, opacityTube, opacityFoam, heightsArr, plots=True)[source]

Generates a plot transmission versus radial coordinate through a tube.

innerDiameterfloat

Inner diameter of the tube, which is also the diameter of the foam. In units of centimeters.

outerDiameterfloat

Outer diameter of the tube. In units of centimeters.

densityTubefloat

Mass density of the tube material in grams per cubic centimeter.

densityFoamfloat

Mass density of the foam material in grams per cubic centimeter.

opacityTubefloat

Opacity of the tube material (aka mass attenuation coefficient) in squared centimeters per gram.

opacityFoamfloat

Opacity of the foam material (aka mass attenuation coefficient) in squared centimeters per gram.

heightsArrnumpy.ndarray

Array of heights along the tube radial axis at which to calculate the chord lengths through the tube and foam for getting transmission. These can be negative and positive. In units of centimeters.

plotsbool

Flag for generating plots. Default is True.