Single Frequency Model (ClassicIViS)¶
This page walks you through the Single Frequency model implemented in IViS.
Interferometric Data Model¶
The visibility measured between antennas at positions \(\mathbf{r}_i\) and \(\mathbf{r}_j\) is
To model the set of visibilities for each beam \(k\), we first reproject a local field from the global sky model \(I(r)\) using an orthographic SIN projection. The header of each primary beam in BEAMS defines the local projection.
This is the step where mosaicking is natively handled. The starting coordinate system of the sky image (i.e., the WCS of \(I(r)\)) is entirely arbitrary — it can be Cartesian, HEALPix, or any valid projection. What matters is that each beam is reprojected consistently into its own local frame before forward modeling.
After projection, the local image is multiplied by the known primary beam \(A_k(\ell, m)\). This step naturally incorporates the direction-dependent effect (DDE) of the primary beam.
For each beam \(k\), the model visibilities are obtained using the interferometric measurement equation:
Under the small-angle approximation, this simplifies to:
A non-uniform FFT (NuFFT, using the fiNuFFT implementation) is used to evaluate model visibilities at irregular \((u,v)\) coordinates — a process often referred to as degridding. This avoids interpolation onto a regular grid and circumvents gridding artifacts, while enabling fast computation.
This concept is not new and was implemented in the MPol package developed by Ian Czekala, which I learned about during a presentation at the NRAO 2024 workshop on synthesis imaging for radio interferometry.
Cost Function¶
The residual visibilities for each beam k is
and the estimated parameter map \(I(r)\) is defined as the minimizer of a cost function that includes the sum of the squares of the residual
summed over the N beams
where \(\Sigma_{1,k}\) is the standard deviation of the noise, provided in the measurement set of beam \(k\) in column SIGMA. This sum over the \(k\) beams is what makes the deconvolution “joint”.
The total cost function is a regularized non-linear least-square criterion, and the minimizer is
Here, \(\lambda_r\) is a tunable hyperparameter that controls the strength of the regularization. It balances data fidelity and any statistical prior that can be introduce in to cost function such as, e.g., smoothness of the reconstructed image. This very general form is what we hope will make IViS a modular sofware where anyone can design their own cost function.
In IViS base layer, the regularization term \(R(I)\) is a Laplacian filter, which penalizes local pixel-to-pixel variations in the image intensity. This encourages spatial smoothness and suppresses small-scale noise, especially in diffuse emission regions. Unlike the Maximum Entropy Method (MEM), this approach does not maximize an entropy functional — instead, it imposes smoothness via a quadratic penalty. In this case,
where \(D\) is the matrix that performs the convolution with the kernel \(d\).
Adding single dish data¶
To natively build the short spacing correction into IViS, we added the second data fidelity term. This idea was first introduced by Stanimirivic et al 2002.
and \(I(r)\) is defined as the minimizer of a cost function that is the sum of \(Q(I)\) and
where \(\Sigma_2\) is the standard deviation of the noise in the single-dish data, usually measured from empty channel maps where no signal is detected.
where a new yper-parameter is introduced to tune the balance between the three terms.
Optimization Strategy¶
This optimizer allows constraints such as \(I(r) \geq 0\), which can be enabled when negative flux is not expected (e.g., when short-spacing information is available).
Notes:
Gradients computed via PyTorch autograd
Uses pytorch-finufft for GPU-accelerated NuFFT
Avoids data gridding entirely
Performs degridding via direct evaluation of model visibilities at irregular \((u,v)\)
Residuals are not added back to the model (unlike in CLEAN)