ddm.fitting.compute_AB#
- ddm.fitting.compute_AB(dData: DataArray) Tuple[ndarray, float] [source]#
Function to calculate the parameters A and B
- Parameters:
dData (
xarray.DataArray
) – xarray containing the raw image data- Returns:
A (
np.ndarray
) – array containing A(q), the pre-factor of the image structure function which contains info on the imaging conditionsB (
float
) – the magnitude of the noise of the image data