Transform (‘xrayvision.transform’)#
The transform submodule forward and reverse transforms.
xrayvision.transform Module#
Discrete Fourier Transform (DFT) and Inverse Discrete Fourier Transform (IDFT) related functions.
There are two implementations one a standard DFT dft and IDFT idft in terms of pixel space, i.e.
the input has no positional information other than an arbitrary 0 origin and a length. The second
takes inputs which have positional information dft_map and the inverse idft_map
Functions#
|
Generate the x or y coordinates given the number of pixels, phase_center and pixel size. |
|
Generate the u or v coordinates given the number of pixels, phase_center and pixel size. |
|
Discrete Fourier transform in terms of coordinates returning 1-D array complex visibilities. |
|
Inverse discrete Fourier transform in terms of coordinates returning a 2D real array or image. |