plot_image_analysis
- laserbeamsize.display.plot_image_analysis(o_image, title='Original', pixel_size=None, units='µm', crop=False, cmap='gist_ncar', corner_fraction=0.035, nT=3, iso_noise=True, **kwargs)[source]
Create a visual report for image fitting.
If crop is a two parameter list [v, h] then v and h are interpreted as the vertical and horizontal sizes of the rectangle. The size is in pixels unless pixel_size is specified. In that case the rectangle sizes are in whatever units pixel_size is .
If crop==True then the displayed image is cropped to the ISO 11146 integration rectangle.
All cropping is done after analysis and therefosre only affects what is displayed. If the image needs to be cropped before analysis then that must be done before calling this function.
- Parameters:
o_image – 2D image of laser beam
title – (optional) title for upper left plot
pixel_size – (optional) size of pixels
units – (optional) string used for units used on axes
crop – (optional) crop image to integration rectangle
cmap – (optional) colormap to use
- Returns:
nothing