class Suntime::Suntime
- Suntime::Suntime
- Reference
- Object
Defined in:
suntime.crConstructors
Instance Method Summary
-
#calculate_time(what_time : Symbol)
longitude and hour angle are in degrees equation of time is in minutes
-
#decl
and the solar declination angle (in radians).
- #degrees_to_radians(deg)
-
#eqtime
From γ, we can estimate the equation of time (in minutes) and the solar declination angle (in radians).
-
#fractional_year
First, the fractional year (γ) is calculated, in radians
- #radians_to_degrees(rad)
- #solar_noon
-
#solve_for_zenith_ha(sunrise_or_sunset : Symbol)
For the special case of sunrise or sunset, the zenith is set to 90.833 (the approximate correction for atmospheric refraction at sunrise and sunset, and the size of the solar disk) and the hour angle becomes: returns HA in radians
- #sunrise
- #sunset
Constructor Detail
Instance Method Detail
longitude and hour angle are in degrees equation of time is in minutes
From γ, we can estimate the equation of time (in minutes) and the solar declination angle (in radians).
For the special case of sunrise or sunset, the zenith is set to 90.833 (the approximate correction for atmospheric refraction at sunrise and sunset, and the size of the solar disk) and the hour angle becomes: returns HA in radians