skycoord_to_lmn

ska_sdp_func_python.util.coordinate_support.skycoord_to_lmn(pos: SkyCoord, phasecentre: SkyCoord)[source]

Convert astropy sky coordinates into the l,m,n coordinate system relative to a phase centre.

The l,m,n is a RHS coordinate system with
  • Its origin on the sky sphere

  • m,n and the celestial north on the same plane

  • l,m a tangential plane of the sky sphere.

Note that this means that l increases east-wards.

Parameters:
  • pos – Position in SkyCoord

  • phasecentre – Phase centre in SkyCoord

Returns:

lmn coordinates