def from_location_sun_up_hours(cls, location, sun_up_hours, north=0,
                                   is_leap_year=False):
        """Generate a radiance-based analemma for a location.

        Args:
            location: A ladybug location.
            sun_up_hours: A list of hours of the year to be included in analemma.
            north: North angle from Y direction (default: 0).
            is_leap_year: A boolean to indicate if hours are for a leap year
                (default: False).
        """
        sun_vectors = []
        north = north or 0

        sp = Sunpath.from_location(location, north)
        sp.is_leap_year = is_leap_year
        for hour in sun_up_hours:
            sun = sp.calculate_sun_from_hoy(hour)
            sun_vectors.append(sun.sun_vector)

        return cls(sun_vectors, sun_up_hours)