Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents
Next: Bibliography Up: Some practical aspects of the matrix-based MEASUREMENT EQUATION Previous: IMPLEMENTATION IN AIPS++


A GENERALISED SOLVER

The elegance of the matrix formalism opens the way for a generalised non-linear complex Solver for the parameters of the Measurement Model (MM) and the Sky Model (SM). Such a solver can be used for any telescope that can be described with the formalism.

The full Measurement Equation expressed by 18 and 19 can be written as:

$\displaystyle \left(\vphantom{\begin{array}{c}
v_{\rm pp}\\  v_{\rm pq}\\  v_{\rm qp}\\  v_{\rm qq}
\end{array}}\right.$$\displaystyle \begin{array}{c}
v_{\rm pp}\\  v_{\rm pq}\\  v_{\rm qp}\\  v_{\rm qq}
\end{array}$ $\displaystyle \left.\vphantom{\begin{array}{c}
v_{\rm pp}\\  v_{\rm pq}\\  v_{\rm qp}\\  v_{\rm qq}
\end{array}}\right)$  =   $\displaystyle \vec{H}\,$ $\displaystyle \left(\vphantom{\begin{array}{c} I\\  Q\\  U\\  V \end{array}}\right.$$\displaystyle \begin{array}{c} I\\  Q\\  U\\  V \end{array}$ $\displaystyle \left.\vphantom{\begin{array}{c} I\\  Q\\  U\\  V \end{array}}\right)$ (21)

The matrix coefficients hij of the `system matrix' $ \vec{H}\,$ are functions hij(x1, x2, x3,..., xn) of the (complex) variables xk. In general, these functions will be non-linear. For small variations $ \Delta$xk:

$\displaystyle \Delta$hij  =  $\displaystyle \sum_{k=1}^{n}$$\displaystyle {\frac{\partial h_{ij}}{\partial x_{k}}}$ $\displaystyle \Delta$xk (22)

Assuming that our Sky Model is correct, the uv-data are the result of multiplication with the true values of the hij:

vppdat  =  h11true Imod  +  h12true Qmod  +  h13true Umod  +  h14true Vmod (23)

The uv-model values have been calculated from the Sky Model by multiplying them with the current values of the hij, i.e. the values that are obtained by using the best available values of the variables xk:

vppmod  =  h11curr Imod  +  h12curr Qmod  +  h13curr Umod  +  h14curr Vmod (24)

So, a `Selfcal equation' can be written in terms of a linear combination of the increments $ \Delta$xk, which would move the current values of the variables xk closer to the true values:

vppdat  -  vppmod  =  (h11true - h11currImod  +   ...   =  $\displaystyle \sum_{k=1}^{n}$ ck$\displaystyle \Delta$xk (25)

in which,

 ck  =  $\displaystyle {\frac{\partial h_{11}}{\partial x_{k}}}$ Imod  +  $\displaystyle {\frac{\partial h_{12}}{\partial x_{k}}}$ Qmod  +  $\displaystyle {\frac{\partial h_{13}}{\partial x_{k}}}$ Umod  +  $\displaystyle {\frac{\partial h_{14}}{\partial x_{k}}}$ Vmod (26)

The `sensitivity' of hij for a variation in a variable xk can be approximated by calculating the change in hij as result of a small `trial' variation $ \delta$xk:

$\displaystyle {\frac{\partial h_{ij}}{\partial x_{k}}}$  $\displaystyle \approx$  $\displaystyle {\frac{h_{ij}(x_{1},x_{2},\cdots,x_{k}+\delta x_{k},\cdots,x_{n})}{h_{ij}(x_{1},x_{2},\cdots,x_{k}, \cdots,x_{n})}}$ (27)

These sensitivities will be different for different telescopes, due to the different values of the elements of the instrumental matrices etc. But given these matrices, they can be readily calculated.

The procedure can be further generalised to the case where better values have to be estimated for the parameters of the Sky Model.

The solving procedure would be as follows:

1.
Make sure that the parametrised instrumental matrices G,D,C,B,P,F and a parametrised Sky Model (SM) are available.
2.
Choose which of the parameters are variables to be solved, and which are assumed to be known values. The latter may also be expressions, like the parallactic angle.
3.
Supply extra constraints on the variables, in the form of extra equations. Example: solve for phase gradients over the array, rather than individual antenna phases.
4.
Feed it all to a symbolic processor which sets up the solution in an efficient way. It is important that most of the overhead that is caused by the generality goes into setting up the solver, and is not repeated for each MS row.
5.
Solve for the specified variables xk, or rather their increments $ \Delta$xk. NB: The Solver should utilise a least-squares method (like SVD) that can deal automatically with situations in which there are too few constraints for a solution.
6.
After each solution, the estimated values $ \Delta$xk are added to the values of the xk in the relevant Correctors. These are used to create the starting point of new solutions.
7.
Iterate until some criterion is met. Iteration can also mean that one the Solver alternates between two sets of variables, or that an improved Sky Model is obtained inside the loop.


next up previous contents
Next: Bibliography Up: Some practical aspects of the matrix-based MEASUREMENT EQUATION Previous: IMPLEMENTATION IN AIPS++   Contents
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15