xyz_at_latitude

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