uvw_to_xyz

uvw_to_xyz(uvw, ha, dec)[source]

Rotate \((x,y,z)\) positions relative to a sky position at \((ha, dec)\) to earth coordinates. Can be used for both antenna positions as well as for baselines.

Hour angle and declination can be given as single values or arrays of the same length. Angles can be given as radians or astropy quantities with a valid conversion.

Parameters
  • uvw\((u,v,w)\) co-ordinates of antennas in array

  • ha – hour angle of phase tracking centre (\(ha = ra - lst\))

  • dec – declination of phase tracking centre