pvlib.location.Location.get_sun_rise_set_transit#
- Location.get_sun_rise_set_transit(times, method='spa', **kwargs)[source]#
- Calculate sunrise, sunset and transit times. - Parameters:
- times (DatetimeIndex) – Must be localized to the Location 
- method (str, default 'spa') – ‘pyephem’, ‘spa’, or ‘geometric’ 
- kwargs – Passed to the relevant functions. See solarposition.sun_rise_set_transit_<method> for details. 
 
- Returns:
- result (DataFrame) – Column names are: - sunrise, sunset, transit.
 
