Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MWA tiles were surveyed by professional surveyors, who present the results in UTM coordinates "easting", "northing" and "height". This is a standard system for surveyors, but the directions for "easting" and "northing" don't correspond to local east and north in general. We need to convert the surveyed coords to a standard cartesian coordinate system used by radio telescopes.

It is real

The basic recipe for conversion is as follows:

...

  1. Calculate the coords of the antennas in X,Y,Z relative to the array centre's X,Y,Z: this is just a vector difference:
    ant_geo_X = ant_X - arr_X
    ant_geo_Y = ant_Y - arr_Y
    ant_geo_Z = ant_Z - arr_Z

  2. Rotate the longitude:
    x_local = x_geo*math.cos(lon_rad) + math.sin(lon_rad)*y_geo
    y_local = y_geo*math.cos(lon_rad) - math.sin(lon_rad)*x_geo
    z_local = z_geo
  3. Rotate the latitude:
    e_local = y_local
    n_local = z_local*math.cos(lat_rad) - math.sin(lat_rad)*x_local
    u_local = x_local*math.cos(lat_rad) + math.sin(lat_rad)*z_local


Some versions of these codes have been put on the J drive under "EECMS/CIRA/Operations/Maps&Locations/MWA", but these are clearly copies of my code that I had no idea they were there.