uvw_to_xyz

ska_sdp_func_python.util.coordinate_support.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 and 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

Returns:

xyz coordinates