Grid irregularly spaced data points onto a regular grid via histogramming
This function will process the set of reciprocal space values (q), the image stack (img_stack) and grid the image data based on the bounds provided, using defaults if none are provided.
Parameters: | q : ndarray
img_stack : ndarray
nx : int, optional
ny : int, optional
nz : int, optional
xmin : float, optional
ymin : float, optional
zmin : float, optional
xmax : float, optional
ymax : float, optional
zmax : float, optional
binary_mask : ndarray, optional
|
---|---|
Returns: | mean : ndarray
occupancy : ndarray
std_err : ndarray
oob : int
bounds : list
|