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 (Annotated[Quantity, Unit("1 / arcsec")]) – Array of N u coordinates corresponding to the input visibilities in input_vis

  • v (Annotated[Quantity, Unit("1 / arcsec")]) – Array of N v coordinates corresponding to the input visibilities in input_vis

  • shape (Annotated[Quantity, Unit("pix")]) – The shape of the output array to create.

  • weights (ndarray[Any, dtype[_ScalarType_co]] | None) – Array of weights for visibilities.

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

  • pixel_size (Annotated[Quantity, Unit("arcsec / pix")]) – The pixel size this need not be square e.g. (1, 3).

Returns:

2D image obtained from the visibilities evaluated at the given u, v coordinates.

Return type:

Quantity | ndarray[Any, dtype[_ScalarType_co]]