calc_fourier#
- pyvisgen.simulation.calc_fourier(img: tensor, bas, lm: tensor, spw_low: float, spw_high: float) tuple[tensor, tensor][source]#
Calculates Fourier transformation kernel for every baseline and pixel in the lm grid.
- Parameters:
- img
tensor() Sky distribution.
- bas
ValidBaselineSubset Baselinesdataclass object containing information on u, v, and w coverage, and observation times.- lm
tensor() lm grid for FOV.
- spw_lowfloat
Lower wavelength.
- spw_highfloat
Higher wavelength.
- img
- Returns:
- tuple[torch.tensor, torch.tensor]
Fourier kernels for every pixel in the lm grid and given baselines. Shape is given by lm axes and baseline axis.