catalog_xmatch_circle

gammapy.catalog.catalog_xmatch_circle(catalog, other_catalog, radius='Association_Radius', other_radius=<Angle 0. deg>)[source]

Find associations within a circle around each source.

This is convenience function built on search_around_sky, extending it in two ways:

  1. Each source can have a different association radius.
  2. Handle source catalogs (Table) instead of SkyCoord.

Sources are associated if the sum of their radii is smaller than their separation on the sky.

Parameters:

catalog : Table

Main source catalog

other_catalog : Table

Other source catalog of potential associations

radius, other_radius : Angle or str

Main source catalog association radius. For str this must be a column name (in degrees if without units)

Returns:

associations : Table

The list of associations.