assert_skycoord_allclose

gammapy.utils.testing.assert_skycoord_allclose(skycoord1, skycoord2, atol='1 arcsec')[source]

Assert all-close for SkyCoord.

  • Checks if separation on the sky is within atol.
  • Frames can be different, aren’t checked at the moment.