def local_solar_time(local_time, tc):
    """
    Corrects the local time to give the local solar time.

    Parameters
    ----------
    local_time : float
        The local time in hours
    tc : the time correction factor

    Returns
    -------
    lst : float
        The local solar time in hours.
    """

    lst = local_time + tc / 60

    return lst