get_star_list

sitelle.utils.get_star_list(star_list_deg, im, hdr, dxmap, dymap)

Computes the pixel positions of a list of positions in degrees.

Parameters:
  • star_list_deg (ndarray) – A 2d array of object positions, in degrees
  • im (2D ndarray) – The image on which this objects are supposed to be
  • hdr (dict) – The header of this image
  • dxmap (2D ndarray) – The dxmap correction to apply
  • dymap (2D ndarray) – The dymap correction to apply
Returns:

  • star_list_pix1 (ndarray) – 2d array of pixel positions where dx and dy maps have not been used in the computation
  • star_list_pix2 (ndarray) – 2d array of pixel positions where dx and dy maps have been used in the computation