Module: RubyChartEngine

Defined in:
lib/ruby_chart_engine.rb,
lib/ruby_chart_engine/version.rb,
lib/ruby_chart_engine/charts/natal.rb,
lib/ruby_chart_engine/charts/transit.rb,
lib/ruby_chart_engine/input/datetime.rb,
lib/ruby_chart_engine/input/timezone.rb,
lib/ruby_chart_engine/charts/composite.rb,
lib/ruby_chart_engine/charts/base_chart.rb,
lib/ruby_chart_engine/charts/progressed.rb,
lib/ruby_chart_engine/input/coordinates.rb,
lib/ruby_chart_engine/calculations/houses.rb,
lib/ruby_chart_engine/charts/solar_return.rb,
lib/ruby_chart_engine/calculations/aspects.rb,
lib/ruby_chart_engine/calculations/dignities.rb,
lib/ruby_chart_engine/calculations/positions.rb,
lib/ruby_chart_engine/serializers/json_serializer.rb

Defined Under Namespace

Modules: Calculations, Charts, Input, Serializers Classes: Error

Constant Summary collapse

PLANETS =

Swiss Ephemeris object ID constants These are standard SE values used across all implementations

{
  sun: 0,       # SE_SUN
  moon: 1,      # SE_MOON
  mercury: 2,   # SE_MERCURY
  venus: 3,     # SE_VENUS
  mars: 4,      # SE_MARS
  jupiter: 5,   # SE_JUPITER
  saturn: 6,    # SE_SATURN
  uranus: 7,    # SE_URANUS
  neptune: 8,   # SE_NEPTUNE
  pluto: 9      # SE_PLUTO
}.freeze
POINTS =
{
  north_node: 10,  # SE_TRUE_NODE (or use 11 for mean node)
  south_node: 10,  # Will be calculated as opposite of north node
  chiron: 15       # SE_CHIRON
}.freeze
ANGLES =
{
  ascendant: :asc,
  midheaven: :mc,
  descendant: :dsc,
  imum_coeli: :ic
}.freeze
SIGNS =

Zodiac signs

[
  { name: 'Aries', element: 'Fire', modality: 'Cardinal' },
  { name: 'Taurus', element: 'Earth', modality: 'Fixed' },
  { name: 'Gemini', element: 'Air', modality: 'Mutable' },
  { name: 'Cancer', element: 'Water', modality: 'Cardinal' },
  { name: 'Leo', element: 'Fire', modality: 'Fixed' },
  { name: 'Virgo', element: 'Earth', modality: 'Mutable' },
  { name: 'Libra', element: 'Air', modality: 'Cardinal' },
  { name: 'Scorpio', element: 'Water', modality: 'Fixed' },
  { name: 'Sagittarius', element: 'Fire', modality: 'Mutable' },
  { name: 'Capricorn', element: 'Earth', modality: 'Cardinal' },
  { name: 'Aquarius', element: 'Air', modality: 'Fixed' },
  { name: 'Pisces', element: 'Water', modality: 'Mutable' }
].freeze
HOUSE_SYSTEMS =

House systems

{
  placidus: 'P',
  koch: 'K',
  porphyrius: 'O',
  regiomontanus: 'R',
  campanus: 'C',
  equal: 'E',
  whole_sign: 'W'
}.freeze
VERSION =
"0.1.0"