skbeam.core.speckle.normalize_bin_edges

skbeam.core.speckle.normalize_bin_edges(num_times, num_rois, mean_roi, max_cts)

This will provide the normalized bin edges and bin centers for each integration time.

Parameters
num_timesint

number of integration times for XSVS

num_roisint

number of ROI’s

mean_roiarray

mean intensity of each ROI shape (number of ROI’s)

max_ctsint

maximum pixel counts

Returns
norm_bin_edgesarray
normalized speckle count bin edges

shape (num_times, num_rois)

norm_bin_centers :array

normalized speckle count bin centers shape (num_times, num_rois)