Skip to content
Yoshihiro Sakai edited this page Dec 9, 2017 · 4 revisions

Informations for js_astro

Important notice

Timezone used in this library is Japan Standard Time(UTC+0900). You may consider to wrapper function to convert your local timezone.

This library assumes eastern geographical longitude and northern geographical latitude as plus(eg. Tokyo: 139E42 = +139.70, 35N41 = +35.68).


Usage

Planetary calculation

If you use this library without Japan, you may use calPlanetPosition2 instead of calPlanetPosition. calPlanetPosition2 returns array of 15 values:

  • Julian day
  • Planetary Position(Geocentric apparent ecliptic longitude): Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto
  • Lunar Node & apogee Longitude(from approximate osculate orbital elements)
  • Longitude of Ascendant, MC(Mid heaven)
    • All value is expressed in degree, without Julian day.

House cusp calculation

In same reason for planetary calculation, you may consider to use calHouseCusp2. calHouseCusp2 returns array of house cusp longitude(Index of this array starts 1, not 0).

calHouseCusp2 can calculate several house system such as Placidus, Campanus, Regiomontanus, Koch, Topocentric. Other trivial house system such as Whole House, Solar Sign is not provide this function.


Other Question

  • Why core library is named "hekichan"?
    • "hekichan" is taken from Ms. Hekiru Shiina, Japanese voice actress, and "metako" is her avatar "heki-metako".
      • She is one of my favorite singer from my college days.
Clone this wiki locally