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_Fb()

Calculate the Fourier transform of grid correction function

calculate_Fn()

Calculate the Fourier transform of gridding function

calculate_facet_B()

Calculate facet mask

calculate_facet_m0_trunc()

Calculate the mask truncated to a facet (image space)

calculate_pswf()

Calculate 1D PSWF (prolate-spheroidal wave function) at the full required resolution (facet size)

calculate_subgrid_A()

Calculate subgrid mask

Methods Documentation

calculate_Fb()[source]

Calculate the Fourier transform of grid correction function

calculate_Fn()[source]

Calculate the Fourier transform of gridding function

calculate_facet_B()[source]

Calculate facet mask

calculate_facet_m0_trunc()[source]

Calculate the mask truncated to a facet (image space)

calculate_pswf()[source]

Calculate 1D PSWF (prolate-spheroidal wave function) at the full required resolution (facet size)

See also: VLA Scientific Memoranda 129, 131, 132

calculate_subgrid_A()[source]

Calculate subgrid mask