calc_fourier#
- pyvisgen.simulation.scan.calc_fourier(X1: Tensor, X2: Tensor, bas, lm: Tensor, spw_low: float | Tensor, spw_high: float | Tensor) tuple[Tensor, Tensor][source]#
Calculates Fourier transformation kernel for every baseline and pixel in the lm grid.
- Parameters:
- X1
tensor() Sky tensor.
- X2
tensor() Sky tensor.
- 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.
- X1
- 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.