Katpoint API and astropy integration options

katpoint.Antenna

These are the ways in which the MeerKAT telescope interacts with katpoint.Antenna (extracted from CAM / TM and SDP code):

Construction

  • Antenna(string) - by far the most common way

  • Antenna(string, float, float, float, float) - corner case in katcbfsim

  • Antenna(string, string, string, string, float, tuple) - corner case in katcbfsim

  • Antenna(string, float, float, float) - corner case in katsdpimager - replace by ref ant code?

katpoint.Target

These are the ways in which the MeerKAT telescope interacts with katpoint.Target (extracted from CAM / TM and SDP code):

Construction

  • Target(string) - by far the most common way

  • Target(body=string, antenna=Antenna) - corner case in katportalclient - easily fixed

Popular methods and attributes

  • name

  • description

  • tags

  • body_type

  • separation

  • radec

  • azel

  • parallactic_angle

  • uvw_basis

katpoint.Timestamp

These are the ways in which the MeerKAT telescope interacts with katpoint.Timestamp (extracted from CAM / TM and SDP code):

Construction

  • Timestamp()

  • Timestamp(float)

Popular methods and attributes

  • secs

  • local

  • to_mjd

  • to_string

Helper functions

Problematic use cases

Problematic use cases of Target.body and Antenna.observer (assumes PyEphem features): * body.compute * observer.next_rising(body, time) * observer.next_setting(body, time) * ephem.separation - use Target.separation instead * ephem.degrees * ephem.hours