This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Match two sets of on-sky coordinates to each other. | |
I.e., find nearest neighbor of one that's in the other. | |
Similar in purpose to IDL's spherematch, but totally different implementation. | |
Requires numpy and scipy. | |
""" | |
from __future__ import division | |
import numpy as np |