query_catalog.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:specdb 作者: specdb 项目源码 文件源码
def radial_search(self, inp, radius, **kwargs):
        """ Search for sources in a radius around the input coord

        Parameters
        ----------
        inp : str or tuple or SkyCoord
          See linetools.utils.radec_to_coord for details
          Single coordinate
        radius : Angle or Quantity
          Tolerance for a match

        Returns
        -------
        idx : int array
          Catalog IDs corresponding to match in order of increasing separation
          Returns an empty array if there is no match
        """
        raise DeprecationWarning("THIS METHOD HAS BEEN DEPRECATED. USE query_position()")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号