本文整理汇总了Python中ephemeris.Ephemeris.getMeanOfFivePlanetaryInfo方法的典型用法代码示例。如果您正苦于以下问题:Python Ephemeris.getMeanOfFivePlanetaryInfo方法的具体用法?Python Ephemeris.getMeanOfFivePlanetaryInfo怎么用?Python Ephemeris.getMeanOfFivePlanetaryInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ephemeris.Ephemeris
的用法示例。
在下文中一共展示了Ephemeris.getMeanOfFivePlanetaryInfo方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: getPlanetaryInfosForDatetime
# 需要导入模块: from ephemeris import Ephemeris [as 别名]
# 或者: from ephemeris.Ephemeris import getMeanOfFivePlanetaryInfo [as 别名]
def getPlanetaryInfosForDatetime(dt, birthInfo):
"""Helper function for getting a list of PlanetaryInfo objects
to display in the astrology chart.
"""
# Set the location again (required).
Ephemeris.setGeographicPosition(birthInfo.longitudeDegrees,
birthInfo.latitudeDegrees,
birthInfo.elevation)
# Get planetary info for all the planets.
planets = []
# Astrological house system for getting the house cusps.
houseSystem = Ephemeris.HouseSys['Porphyry']
planets.append(Ephemeris.getH1PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH2PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH3PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH4PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH5PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH6PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH7PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH8PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH9PlanetaryInfo(dt, houseSystem))
planets.append(Ephemeris.getH10PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH11PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getH12PlanetaryInfo(dt, houseSystem))
planets.append(Ephemeris.getARMCPlanetaryInfo(dt, houseSystem))
planets.append(Ephemeris.getVertexPlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getEquatorialAscendantPlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getCoAscendant1PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getCoAscendant2PlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getPolarAscendantPlanetaryInfo(dt, houseSystem))
#planets.append(Ephemeris.getHoraLagnaPlanetaryInfo(dt))
#planets.append(Ephemeris.getGhatiLagnaPlanetaryInfo(dt))
#planets.append(Ephemeris.getMeanLunarApogeePlanetaryInfo(dt))
#planets.append(Ephemeris.getOsculatingLunarApogeePlanetaryInfo(dt))
#planets.append(Ephemeris.getInterpolatedLunarApogeePlanetaryInfo(dt))
#planets.append(Ephemeris.getInterpolatedLunarPerigeePlanetaryInfo(dt))
planets.append(Ephemeris.getSunPlanetaryInfo(dt))
planets.append(Ephemeris.getMoonPlanetaryInfo(dt))
planets.append(Ephemeris.getMercuryPlanetaryInfo(dt))
planets.append(Ephemeris.getVenusPlanetaryInfo(dt))
planets.append(Ephemeris.getEarthPlanetaryInfo(dt))
planets.append(Ephemeris.getMarsPlanetaryInfo(dt))
planets.append(Ephemeris.getJupiterPlanetaryInfo(dt))
planets.append(Ephemeris.getSaturnPlanetaryInfo(dt))
planets.append(Ephemeris.getUranusPlanetaryInfo(dt))
planets.append(Ephemeris.getNeptunePlanetaryInfo(dt))
planets.append(Ephemeris.getPlutoPlanetaryInfo(dt))
planets.append(Ephemeris.getMeanNorthNodePlanetaryInfo(dt))
#planets.append(Ephemeris.getTrueSouthNodePlanetaryInfo(dt))
planets.append(Ephemeris.getTrueNorthNodePlanetaryInfo(dt))
#planets.append(Ephemeris.getTrueSouthNodePlanetaryInfo(dt))
#planets.append(Ephemeris.getCeresPlanetaryInfo(dt))
#planets.append(Ephemeris.getPallasPlanetaryInfo(dt))
#planets.append(Ephemeris.getJunoPlanetaryInfo(dt))
#planets.append(Ephemeris.getVestaPlanetaryInfo(dt))
planets.append(Ephemeris.getIsisPlanetaryInfo(dt))
#planets.append(Ephemeris.getNibiruPlanetaryInfo(dt))
planets.append(Ephemeris.getChironPlanetaryInfo(dt))
#planets.append(Ephemeris.getGulikaPlanetaryInfo(dt))
#planets.append(Ephemeris.getMandiPlanetaryInfo(dt))
planets.append(Ephemeris.getMeanOfFivePlanetaryInfo(dt))
planets.append(Ephemeris.getCycleOfEightPlanetaryInfo(dt))
planets.append(Ephemeris.getAvgMaJuSaUrNePlPlanetaryInfo(dt))
planets.append(Ephemeris.getAvgJuSaUrNePlanetaryInfo(dt))
planets.append(Ephemeris.getAvgJuSaPlanetaryInfo(dt))
return planets