dft_map#
- xrayvision.transform.dft_map(
- input_array,
- *,
- u,
- v,
- phase_center=<Quantity [0.,
- 0.] arcsec>,
- pixel_size=<Quantity [1.,
- 1.] arcsec / pix>,
Discrete Fourier transform in terms of coordinates returning 1-D array complex visibilities.
- Parameters:
input_array (Quantity | NDArray) – Input array to be transformed should be 2D (m, n)
u (Annotated[Quantity, Unit("1 / arcsec")]) – Array of 2xN u coordinates where the visibilities are evaluated.
v (Annotated[Quantity, Unit("1 / arcsec")]) – Array of 2xN v coordinates where the visibilities are evaluated.
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 (
float(dx, dy), optional) – The pixel size need not be square e.g.(1, 3).
- Returns:
Array of N
complexvisibilities evaluated at the givenu,vcoordinates.- Return type:
Quantity | NDArray