RubyGems Navigation menu

ruby-ephemeris 1.1.0

Usage is simple and straightforward: o = Ephemeris.new(date, lat, lon, tz) ...creates a new ephemeris object for the "date" (a string in ISO format 2020-12-16) by supplying the observer latitude (lat), longitude (lon) and time zone (tz). Example: today = Ephemeris.new("2020-12-16", 59.568, 10.02, 1) You will then have access to the following data: today.sun today.moon today.mercury today.venus today.mars today.jupiter today.saturn today.uranus today.neptune By calling any of these, you will get back an array with the following data: [ra, dec, distance, ra_string, dec_string, rise, transit, set] See Github page for more info: https://github.com/isene/ephemeris

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 1.1.1 - September 26, 2021 (8KB)
  2. 1.1.0 - September 25, 2021 (8KB)

所有者:

プッシュ者:

作者:

  • Geir Isene

SHA 256チェックサム:

507cb0b3f1d581f60a09d81670f309da156c0516036ef3351c2c5ecae378974c

累計ダウンロード数 3,064

このバージョンのみ 1,253

ライセンス:

Unlicense

必要なRubyのバージョン: >= 0

リンク: