beamprofiler.utils.plot

This module handles the generation of the auxiliary plots.

Functions

general_plot([proj])

general_plot returns a general-purpose, blank pyplot graph.

heat_map_2d(path, fileName, beam, **kwargs)

heat_map_2d plots the 2D heat map of the power density distribution.

heat_map_3d(path, fileName, beam, **kwargs)

heat_map_3d plots the 3D heat map of the power density distribution.

histogram(path, fileName, beam, **kwargs)

histogram plots the histogram of the power density distribution and the normal mixture fit of the top 40% of the range.

norm_energy_curve(path, fileName, beam, **kwargs)

norm_energy_curve plots the normalized energy curve of the power density distribution.

save(path, fileName, suffix, fmt)

save saves a pyplot graph in the designated path with the designated name and format.