match_star_list

sitelle.calibration.match_star_list(_list0, _list1)

Astrometric cross-match method between two list of objects.

The underlying method is astropy.coordinates.SkyCoord.match_to_catalog_sky

Parameters:
  • _list0 (ndarray) – A 2D array containg RA/DEC positions of objects. The array should be column oriented ([[ra0, dec0], [ra1, dec1], [ra2, dec2], …])
  • _list1 (ndarray) – A second list of RA/DEC positions of objects.
Returns:

  • idx (interger array) – Indices in _list1 that match _list0 positions (same dimension as _list0).
  • sep2d (float array) – On-sky separation of the matches, in arcsec (same dimesion as _list1).