dft_map#

xrayvision.transform.dft_map(input_array, *, u, v, phase_center=<Quantity [0., 0.] arcsec>, pixel_size=<Quantity [1., 1.] arcsec / pix>)[source]#

Discrete Fourier transform in terms of coordinates returning 1-D array complex visibilities.

Parameters:
  • input_array (Quantity | ndarray[Any, dtype[_ScalarType_co]]) – Input array to be transformed should be 2D (m, n)

  • u (Quantity) – Array of 2xN u coordinates where the visibilities are evaluated.

  • v (Quantity) – Array of 2xN v coordinates where the visibilities are evaluated.

  • phase_center (Quantity) – Coordinates of the phase_center of the map e.g. (0,0) or [5.0, -2.0].

  • pixel_size (float (dx, dy), optional) – The pixel size need not be square e.g. (1, 3).

Returns:

Array of N complex visibilities evaluated at the given u, v coordinates.

Return type:

Quantity | ndarray[Any, dtype[_ScalarType_co]]