def sun_rise_set_transit_geometric(times, latitude, longitude, declination,<EOL>equation_of_time):
latitude_rad = np.radians(latitude)  <EOL>sunset_angle_rad = np.arccos(-np.tan(declination) * np.tan(latitude_rad))<EOL>sunset_angle = np.degrees(sunset_angle_rad)  <EOL>sunrise_angle = -sunset_angle<EOL>sunrise_hour = _hour_angle_to_hours(<EOL>times, sunrise_angle, longitude, equation_of_time)<EOL>sunset_hour = _hour_angle_to_hours(<EOL>times, sunset_angle, longitude, equation_of_time)<EOL>transit_hour = _hour_angle_to_hours(times, <NUM_LIT:0>, longitude, equation_of_time)<EOL>sunrise = _local_times_from_hours_since_midnight(times, sunrise_hour)<EOL>sunset = _local_times_from_hours_since_midnight(times, sunset_hour)<EOL>transit = _local_times_from_hours_since_midnight(times, transit_hour)<EOL>return sunrise, sunset, transit<EOL>
Geometric calculation of solar sunrise, sunset, and transit.

.. warning:: The geometric calculation assumes a circular earth orbit with
    the sun as a point source at its center, and neglects the effect of
    atmospheric refraction on zenith. The error depends on location and
    time of year but is of order 10 minutes.

Parameters
----------
times : pandas.DatetimeIndex
    Corresponding timestamps, must be localized to the timezone for the
    ``latitude`` and ``longitude``.
latitude : float
    Latitude in degrees, positive north of equator, negative to south
longitude : float
    Longitude in degrees, positive east of prime meridian, negative to west
declination : numeric
    declination angle in radians at ``times``
equation_of_time : numeric
    difference in time between solar time and mean solar time in minutes

Returns
-------
sunrise : datetime
    localized sunrise time
sunset : datetime
    localized sunset time
transit : datetime
    localized sun transit time

References
----------
[1] J. A. Duffie and W. A. Beckman,  "Solar Engineering of Thermal
Processes, 3rd Edition," J. Wiley and Sons, New York (2006)

[2] Frank Vignola et al., "Solar And Infrared Radiation Measurements,"
CRC Press (2012)