Tube Transmission (xripl.tubeTransmission)

Created on Tue May 12 10:59:55 2020

Idealized estimate of what a 1D lineout radially through a cylindrical foam + tube would look like. This is to assist in correctly identifying which features in a radiograph correspond to which part of the target for spatial magnification calculation.

@author: Pawel M. Kozlowski

Functions

chord(radius, height)

Calculates the horizontal chord length through a circle at a given height.

tubeThickness(innerDiameter, outerDiameter, ...)

Calculates the chord lengths through the inner region (foam) and outer region (tube wall) for a given target.

transmission(density, opacity, length)

Calculates the transmission through a uniform material of given density, opacity, and length.

tubeTransmission(innerDiameter, ...)

Calculates the transmission through a tube with foam at a given height (radial coordinate) through the tube.

plotTubeTransmission(innerDiameter, ...[, plots])

Generates a plot transmission versus radial coordinate through a tube.

gaussianBlur(heightsArr, transmissions, ...)

heightsArr : numpy.ndarray