We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current implementation is good enough for objects near each other, but best to have the full formula.
def distance(ra1, de1, ra2, de2): dra = (ra1 - ra2)*math.cos(de1*math.pi/180) dde = (de1 - de2) return math.sqrt(dra*dra + dde*dde)
The text was updated successfully, but these errors were encountered:
genghisken
No branches or pull requests
Current implementation is good enough for objects near each other, but best to have the full formula.
The text was updated successfully, but these errors were encountered: