make_subgrid_and_facet
- ska_sdp_exec_swiftly.fourier_transform.fourier_algorithm.make_subgrid_and_facet(G, FG, base_arrays, dims, use_dask=False)[source]
Calculate the actual subgrids and facets. Dask.delayed compatible version
- Parameters:
G – “ground truth”, the actual input data
FG – FFT of input data
base_arrays – BaseArrays class object
dims – Dimensions; integer 1 or 2 for 1D or 2D
use_dask – run function with dask.delayed or not?
- Returns:
tuple of two numpy.ndarray (subgrid, facet)