xyz_at_latitude

ska_sdp_func_python.util.coordinate_support.xyz_at_latitude(local_xyz, lat)[source]

Rotate local XYZ coordinates into celestial XYZ coordinates. These coordinate systems are very similar, with X pointing towards the geographical east in both cases. However, before the rotation Z points towards the zenith, whereas afterwards it will point towards celestial north (parallel to the earth axis).

Parameters:
  • lat – Target latitude (radians or astropy quantity)

  • local_xyz – Array of local XYZ coordinates

Returns:

Celestial XYZ coordinates