You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement coordinates.allclose to find coordinates that are not strictly equal #2650
As suggested by @taldcroft in #2154 it would be nice to have a way to check that two sets of coordinates are essentially the same even if they are not exactly the same to machine precision.
Activity
eteq commentedon Jul 11, 2014
👍 to this idea, and also re-writing the wide range of code in
astropy.coordinates.testto use this uniformly.sargas commentedon Nov 4, 2014
Would it be sufficient to just check if the angle between the coordinates is below some threshold?
astrofrog commentedon Nov 4, 2014
@sargas - yes, using the angular separation functions already in astropy, so should be easy!
adrn commentedon Jul 3, 2019
This is simple to write with existing functions:
so I'm going to close this, but feel free to reopen if you disagree!