idft_map#
- xrayvision.transform.idft_map(input_vis, *, u, v, shape, weights=None, center=<Quantity [0., 0.] arcsec>, pixel_size=<Quantity [1., 1.] arcsec>)[source]#
Inverse discrete Fourier transform in terms of coordinates returning a 2D real array or image.
- Parameters:
uv (
numpy.ndarray
) – Array of 2xN u, v coordinates corresponding to the input visibilities ininput_vis
input_vis (
numpy.ndarray
) – Array of Ncomplex
input visibilitiesshape (
float
(m,n)) – The shape of the output array to createweights (
numpy.ndarray
) – Array of weights for visibilitiescenter (
float
(x, y), optional) – Coordinates of the center of the map e.g.(0,0)
or[5.0, -2.0]
pixel_size (
float
(dx, dy), optional) – The pixel size in x and y directions, need not be square e.g.(1, 3)
- Returns:
numpy.ndarray
– The complex visibilities evaluated at the u, v coordinates