idft_map#
- xrayvision.transform.idft_map(input_vis, *, u, v, shape, weights=None, phase_center=<Quantity [0., 0.] arcsec>, pixel_size=<Quantity [1., 1.] arcsec / pix>)[source]#
Inverse discrete Fourier transform in terms of coordinates returning a 2D real array or image.
- Parameters:
input_vis (Quantity | ndarray[Any, dtype[_ScalarType_co]]) – Input array of N complex visibilities to be transformed to a 2D array.
u (Quantity) – Array of N u coordinates corresponding to the input visibilities in
input_visv (Quantity) – Array of N v coordinates corresponding to the input visibilities in
input_visshape (Quantity) – The shape of the output array to create.
weights (ndarray[Any, dtype[_ScalarType_co]] | None) – Array of weights for visibilities.
phase_center (Quantity) – Coordinates of the phase_center of the map e.g.
(0,0)or[5.0, -2.0].pixel_size (Quantity) – The pixel size this need not be square e.g.
(1, 3).
- Returns:
2D image obtained from the visibilities evaluated at the given
u,vcoordinates.- Return type: