Git Product home page Git Product logo

astro's Introduction

个人星盘-瑞士星历表(swisseph)

所有的个人星盘都是基于瑞士星历表( Swiss Ephemeris)的算法来生成的,目前国内这方面的开源资料几乎没有。个人星盘就是一个人出生时,抬头仰望星空星体(太阳、月亮、金星、水星...)所在的位置,影响体有星体、星座、基本点(上升、下降、天顶和天底)以及宫位,具体概念及意义就不在描述。

这里的算法只介绍本命盘,也是作者查阅了大量的国外资料,不断摸索得到的结果。至于次限(长期大运)、三限(近期运势),只是条件不同,但是稍微注意一下细节即可。

实例图片;

决定本命盘的条件有2个,出生时间和出生地理位置的经纬度

int result = sw.swe_houses(time, flags, latitude, longitude, 'P', cusps, acsc);

条件决定了结果,星体与星体之间产生相位,天体在运动,地球自传,形成错综复杂的情况,从而反应出人的不同本性。国内还需要考虑时区、夏令时问题。

引用

参考文档

ABOUT ME

astro's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.