gaussianBlur

xripl.tubeTransmission.gaussianBlur(heightsArr, transmissions, stdDevCm, innerDiameter, outerDiameter, plots=False)[source]
heightsArrnumpy.ndarray

Array of heights along the tube radial axis at which chord lengths through the tube and foam were used for getting transmission. These can be negative and positive. In units of centimeters. See plotTubeTransmission().

transmissionsnumpy.ndarray

Transmission values through the tube corresponding to heightsArr. See plotTubeTransmission().

stdDevCmfloat

Standard deviation of Gaussian (in centimeters) to be used for blurring the transmissions curve.

innerDiameterfloat

Inner diameter of the tube, which is also the diameter of the foam. In units of centimeters. Used to overlay tube location on plots.

outerDiameterfloat

Outer diameter of the tube. In units of centimeters. Used to overaly tube location on plots.

plotsbool

Flag for plotting Gaussian used in convolution and blurred transmissions curve.