webbpsf_ext.coords.v2v3_to_pixel

webbpsf_ext.coords.v2v3_to_pixel(ap_obs, v2_obj, v3_obj, frame='sci')[source]

V2/V3 to pixel coordinates

Convert object V2/V3 coordinates into pixel positions.

Parameters
  • ap_obs (str) – Name of observed aperture (e.g., NRCA5_FULL)

  • v2_obj (ndarray) – V2 locations of stellar sources.

  • v3_obj (ndarray) – V3 locations of stellar sources.

Keyword Arguments

frame (str) – ‘det’ or ‘sci’ coordinate frame. ‘det’ is always full frame reference. ‘sci’ is relative to subarray size if not a full frame aperture.