h5analysis.simplemath.grid_data_mesh
- h5analysis.simplemath.grid_data_mesh(x_data, y_data, z_data, binsize_x, binsize_y, bins=None)
Internal function to generate scatter histogram for 3 independent SCA streams.
- Parameters:
x_data (numpy array)
y_data (numpy array)
z_data (numpy array)
binsize_x (int) – puts x-data in bins of specified size
binsize_y (int) – puts y-data in bins of specified size
kwargs –
- bins: tuple
Set the number of bins in the (x-direction,y-direction) explicitly
- Returns:
xedge (numpy array) – xedges as returned from numpy histogram2d
yedge (numpy array) – yedges as returned from numpy histogram2d
new_z (numpy array) – 2d matrix data