Pyswisseph is a python extended astrodienst Swiss ephemeris C library. The purpose of this extension is to achieve very precise astronomical computations, astrology.
Pyswisseph 1.77.00-0 This version has been upgraded Swisseph to 1.77.00, adding CMake to build system files and fixing bugs.
Use examples:
>>> Import Swisseph as Swe >>> swe.set_ephe_path ('/usr/share/ephe ') # set path to Ephemeris files >>> now = Swe.julday (2007,3,3) # get http://www.aliyun.com/zixun/aggregation/39325.html ' >julian Day number >>> res = Swe.lun_eclipse_when (now) # Find Next lunar eclipse >>> ecltime = Swe.revjul (res[1][0]) # Get date UTC >>> Ecltime (2007, 3, 3, 23.347975596785545) >>> JD = Swe.julday (2008,3,21) >>> Swe.calc_ut (JD, SWE. ast_offset+13681) [0] # asteroid Monty Python 0.098474291148756998 >>> Help (SWE)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.