overlayTube

xripl.visualizations.overlayTube(img, extent, method='vertical')[source]

Overlays known coordinates of tube based on shock tube dimensions onto the given image.

imgnumpy.ndarray

Spatially calibrated radiograph.

extentlist

Extent coordinates for plotting the spatially calibrated image using plt.imshow(). See spatialCovnersion().

methodstr

Orientation of image. This should be the same as used in spatialConversion() to get extent.