webbpsf_ext.coords.radec_to_coord

webbpsf_ext.coords.radec_to_coord(coord_objs, siaf_ref_name, coord_ref, pa_ref, frame_out='tel', base_off=(0, 0), dith_off=(0, 0))[source]

RA/Dec to ‘tel’ (arcsec), ‘sci’ (pixels), or ‘det’ (pixels)

Convert a series of RA/Dec positions to telescope V2/V3 coordinates (in arcsec).

Parameters
  • coord_objs (tuple) – (RA, Dec) positions (deg), where RA and Dec are numpy arrays.

  • siaf_ref_name (str) – Reference SIAF aperture name (e.g., ‘NRCALL_FULL’)

  • coord_ref (list or tuple) – RA and Dec towards which reference SIAF points

  • pa (float) – Position angle in degrees measured from North to V3 axis in North to East direction.

Keyword Arguments
  • frame_out (str) – One of ‘tel’ (arcsec), ‘sci’ (pixels), or ‘det’ (pixels).

  • base_off (list or tuple) – X/Y offset of overall aperture offset (see APT pointing file)

  • dither_off (list or tuple) – Additional offset from dithering (see APT pointing file)