示例#1
0
文件: __init__.py 项目: Jravis/gaepsi
def sphdist(ra1, dec1, ra2, dec2, out=None):
  """ all in radians """
  return _cosmology.sphdist(ra1, dec1, ra2, dec2, out)
示例#2
0
文件: __init__.py 项目: Jravis/gaepsi
 def sphdist(self, ra1, dec1, ra2, dec2, out=None):
   """ all in rad 
      out cannot be alias of dec1, dec2 """
   return _cosmology.sphdist(ra1, dec1, ra2, dec2, out)