BaseArrays
- class ska_sdp_exec_swiftly.fourier_transform.algorithm_parameters.BaseArrays(**fundamental_constants)[source]
Bases:
BaseParameters
Class that calculates and holds fundamental constant arrays. See the parent class docstring for description of input parameters.
It contains the following arrays (in addition to BaseParameters):
- Parameters:
facet_B – facet mask
subgrid_A – subgrid mask
Fb – Fourier transform of grid correction function
Fn – Fourier transform of gridding function
facet_m0_trunc – mask truncated to a facet (image space)
pswf – prolate spheroidal wave function
Notes on gridding-related functions (arrays; Fb, Fn, facet_m0_trunc):
Calculate actual work terms to use. We need both $n$ and $b$ in image space In case of gridding: “n”: gridding function (in image space)
“b”: grid correction function.
Note (Peter W): The reason they’re single functions (i.e. we only compute one Fn, Fb and m0 instead of one per facet/subgrid) is that we assume that they are all the same function, just shifted in grid and image space respectively (to the positions of the subgrids and facets)
Methods Summary
Calculate the Fourier transform of grid correction function
Calculate the Fourier transform of gridding function
Calculate facet mask
Calculate the mask truncated to a facet (image space)
Calculate 1D PSWF (prolate-spheroidal wave function) at the full required resolution (facet size)
Calculate subgrid mask
Methods Documentation