def local_hour_angle(apparent_sidereal_time, observer_longitude,
    sun_right_ascension):
    """Measured westward from south"""
    H = apparent_sidereal_time + observer_longitude - sun_right_ascension
    return H % 360
