def from_wea(cls, wea, hoys=None, north=0, is_leap_year=False):
        """Generate a radiance-based analemma from a ladybug wea.

        NOTE: Only the location from wea will be used for creating analemma. For
            climate-based sun materix see SunMatrix class.

        Args:
            wea: A ladybug Wea.
            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).
        """
        return cls.from_location(wea.location, hoys, north, is_leap_year)