昨日は徹夜で相性鑑定プログラム作ってました。
location = EarthLocation(lat=latitude*u.deg, lon=longitude*u.deg, height=height*u.m)time = Time(date_time)planets = ['mercury', 'venus', 'mars', 'jupiter', 'saturn', 'uranus', 'neptune']
dwarf_planets = { 'Pluto': 9, 'Ceres': 1, 'Pallas': 2, 'Juno': 3, 'Vesta': 4, 'Chiron': 2060}
planet_positions = {}sun = get_sun(time).transform_to(GeocentricTrueEcliptic())moon = get_moon(time).transform_to(GeocentricTrueEcliptic())
planet_positions['Sun'] = (sun.lon.deg, sun.lat.deg)
planet_positions['Moon'] = (moon.lon.deg, moon.lat.deg)********************************************* 以上がPythonで天体の位置をとってくるプログラムでたった数行で終わる。あとは心置きなく鑑定ロジックを組み込める。±10000年とかいうエフェメリスもあるから天照大神や卑弥呼も占える。 むかしはパソコン天文計算とか本一冊Basicで延々と10000
0