beamprofiler.utils.data_processing

This module handles the data processing prior to the beam analysis.

Functions

get_nullPoint(raw_header)

get_nullPoint returns the average background map for noise correction.

get_xPixel(raw_header)

get_xPixel returns the number of pixels on the x-axis.

get_xResolution(raw_header)

get_xResolution returns the pixel resolution on the x-axis in millimeter per pixel.

get_xWindow(raw_header)

get_xWindow returns the measurement window size on the x-axis in millimeter.

get_yPixel(raw_header)

get_yPixel returns the number of pixels on the y-axis.

get_yResolution(raw_header)

get_yResolution returns the pixel resolution on the y-axis in millimeter per pixel.

get_yWindow(raw_header)

get_yWindow returns the measurement window size on the y-axis in millimeter.

image_moments(raw_data, raw_header, p, q, x0, y0)

image_moments returns the nth-order of the power density distribution.

normal_mixture(df, mix)

normal_mixture returns the normal mixture fit.

pre_top_hat(raw_data)

pre_top_hat returns a dataframe with the necessary data to calculate the top-hat factor and to plot the normalized energy curve.

raw_data(fullPath)

raw_data returns the power density distribution.

raw_header(fullPath)

raw_header returns the header of the power density distribution.

remove_background(raw_data, raw_header)

remove_background returns the noise-corrected power density distribution.