# Difference between revisions of "Antenna Position"

(→EOVSA Antenna Position Calibration) |
(→1. Determine baseline errors in Z) |
||

Line 179: | Line 179: | ||

</gallery> | </gallery> | ||

− | === | + | === 2. Determine baseline errors in Z === |

## Revision as of 13:03, 20 November 2016

## Contents

## Fundamentals

A synthesis imaging radio instrument consists of a number of radio elements (radio dishes, dipoles, or other collectors of radio emission), which represent measurement points in *u,v,w* space. We need to describe how to convert an array of dishes on the ground to a set of points in *u,v,w* space.

*E, N, U* coordinates to *x, y, z*

The first step is to determine a consistent coordinate system. Antennas are typically measured in units such as meters along the ground. We will use a right-handed coordinate system of * East*,

*, and*

**North**

**Up***. These coordinates are relative to the local horizon, however, and will change depending on where we are on the spherical Earth. It is convenient in astronomy to use a coordinate system aligned with the Earth's rotational axis, for which we will use coordinates*

**(E, N, U)***as shown in*

**(x, y, z)****Figure 1**. Conversion from

*(E, N, U)*to

*(x, y, z)*is done via a simple rotation matrix:

which yields the relations:

### Baselines and Spatial Frequencies

Note that the baselines are differences of coordinates, i.e. for the baseline between two antennas we have a vector:

This vector difference in positions can point in any direction in space, but the part of the baseline that matters in calculating *u,v,w* is the component perpendicular to the direction (the phase center direction), which we called in **Figure 2**. Let us express the phase center direction as a unit vector , where is the hour angle (relative to the local meridian) and is the declination (relative to the celestial equator). Then .

Recall that the spatial frequencies *u,v,w* are just the distances expressed in wavelength units, so we can get the *u,v,w* coordinates from the baseline length expressed in wavelength units from the following coordinate transformation (see Thompson 1999 for details):

### How baseline errors can contribute to the error in phase

The geometric phase difference at the phase center ( term in (1)) is:

where , geometric delay. We can see what can affect the geometric phase by taking the differential of this expression:

where we have used the relation between right ascension and hour angle: , so . Equation (2) shows how baseline errors and source position errors (, ) will affect the error in group delay (or yield an error in phase ). Note that a clock error is equivalent to a source position error .

If we have a source whose position is known, we can use Equation (2) to find the location of the antennas (this is called * baseline determination*). The error in antenna position is largely independent of the baseline lengths. For example, say that we can measure to within 1 degree at 5 GHz ( = 6 cm). Then we can measure , and to a precision of order (1 / 360) 6 cm ~ 1 / 60 cm even though = 5000 km or more (VLBI).

The time of day and location of the antennas must be known to relatively high accuracy -- needed for determining the geometric delay. A clock error of 1 s, or a baseline error of a few cm, will cause a serious phase shift of the source over, say, 10 minutes. At OVRO, using a GPS clock and measuring baselines with cosmic source calibration, we get a time accuracy of << 1 ms, and baseline errors of about 3 mm. Therefore, these effects are not serious over a short time interval, but may still be problematic over 8 hours. This is one reason that we do phase calibration observations every ~ 2 hours.

## EOVSA Antenna Position Calibration

The positions of EOVSA antennas are determined using observations by the 27-m (Ant 14) low-frequency receiver (S and C band) of celestial radio sources during several observation runs in fall 2016. This document describes the procedure followed and the final? calibrated antenna positions.

For calibrator sources with locations with sufficient accuracy (we use caibrators from the VLA Calibrator Manual), and a good time-keeping accuracy at EOVSA (what is our time-keeping accuracy? --Bchen 19 November 2016) , and in Eq. 2 can be neglected. Hence Eq. 2 can be simplified to:

, (3)

where is the intrinsic instrumental phase at the given baseline.

We use a two-step calibration to solve for the EOVSA baseline error as following:

### 1. Determine baseline errors in X and Y

Observing one strong and point-like calibrator for a sufficiently long time (at least several hours). Note it is important to observe for a long time in order to have sufficient variation of the phase vs. hour angle curve as determined by sin(h) and cos(h). We use a function of the following form to fit the observed phases at a baseline involving antenna i and j:

where

(4)

In a usual case, visibilities are measured at many baselines (e.g., for N antennas one would normally have N(N-1)/2 unique baselines). In that case, one can solve for the antenna-based phase as a function of hour angle for each antenna i. The resulted fit parameters c_{1} and c_{2} then only involve the absolute position error dB_{i} for antenna i. For EOVSA, we only have one 27-m antenna in the array, so we have to use the 13 baseline-based phases to solve for . For simplification, I will omit the subscripts (i-14) In the following discussions.

For each antenna i-14 baseline pair, we have two unique polarization measurements. To take advantage of both polarization measurements, we fit the following equations separately:

and obtain the four parameters , , , and . The baseline error for antenna i (relative to antenna 14) is then:

An example is given in Fig. 3 based on a 5.5-hr observation on 3C84 made on 2016 Sep 7 using EOVSA band 5 only (7 usable science channels).

After are determined, they can be applied to the visibility date to correct for the sinusoidal variation of the phase vs. hour angle. I use CASA's task "gencal" to generate the calibration table for antenna position correction (use mode="antpos"). However, the task requires corrections of the antenna positions in the ITRF (International Terrestrial Reference Frame) coordinate system (see gencal help page for details). The X-axis of this system points to prime meridian, i.e., the big circle along zero longitude, while the X-axis of our local Cartesian x, y, z system points to the local central meridian. Therefore we have to rotate the derived by EOVSA's longitude (118.287° west, or -118.287°) to get the new in the ITRF system:

Each antenna should have three inputs in "parameter": . For now we set to be 0, which will be determined in the next step. An example of generating a calibration table and apply the corrections for the positions of antenna IDs 8 and 9 (that is, Ant 9 and 10):

gencal(vis=your_ms_visibility,caltable='caltb.antpos',caltype='antpos', antenna='8, 9', parameter=[dBx'_9, dBy'_9, 0, dBx'_10, dBy'_10, 0]) applycal(vis=your_ms_visibility,gaintable='caltb.antpos')

The results after applying the B_{x} and B_{y} correction are shown in Fig. 4:

Each frequency channel has an independent measurement of the correlated phases (note the wavelength λ in Eq. 3 is different). But they should return the same answer of dB_{x} and dB_{y}. Previously I selected 6 channels in Band 5 and fit them independently, and took the average of the resulted dB_{x} and dB_{y} to be the answer. This worked pretty well for the 2016 Sep 7 observation on 3C84, which is a very strong calibrator source (23 Jy in C band) and we observed band 5 in a sit-and-stare mode, hence the signal-to-noise was excellent at all channels (results are shown in Figs. 3 and 4). However, for calibrators that are not so strong and/or the array in a fast-frequency-tuning mode, the signal-to-noise is not so good. Fitting all channels independently would result in different answers, especially for those with small baseline errors. An example is shown in Fig. 5 for an observation on 2016 Oct 9 on 2253+161 using the fast frequency-sweeping mode. It is desired to take data from all channels and fit for the same c_{1} and c_{2} (which are determined by dB_{x} and dB_{y} respectively), but different c_{0} parameter in Eq. 4 (because different channels have different phase offsets). I have implemented such a technique using SciPy's "leastsq" function. I applied this method to an observation of 2136+006 (9.9 Jy at C band) and 2253+161 (10 Jy at C band) on 2016 Sep 7 under the fast frequency-sweeping mode of the 27-m low-frequency receiver. The results are shown in Fig. 6.