EphCore.Geometry.Horizon (eph_core v0.1.0)

Copy Markdown View Source

Horizon-based geometry helpers (east horizon ecliptic longitude / meridian ecliptic longitude).

Summary

Functions

Compute the ecliptic longitude at the eastern horizon.

Compute the ecliptic longitude on the local meridian.

Types

east_horizon_ecliptic_result()

@type east_horizon_ecliptic_result() :: %{
  east_horizon_ecliptic_longitude: float(),
  lst: float(),
  obliquity: float(),
  obliquity_model: atom(),
  sidereal_time_type: atom()
}

Functions

ecliptic_lon_at_east_horizon(jd_tt, lat_deg, lon_deg, opts \\ [])

@spec ecliptic_lon_at_east_horizon(float(), float(), float(), keyword()) ::
  east_horizon_ecliptic_result()

Compute the ecliptic longitude at the eastern horizon.

ecliptic_lon_on_meridian(jd_tt, lon_deg, opts \\ [])

@spec ecliptic_lon_on_meridian(float(), float(), keyword()) :: %{
  meridian_ecliptic_longitude: float(),
  lst: float(),
  obliquity: float(),
  obliquity_model: atom(),
  sidereal_time_type: atom()
}

Compute the ecliptic longitude on the local meridian.