def get_binpop(pathname='github/cta-gps-simulation-paper/skymodel/binpop'):
    """
    Get binary population

    Parameters
    ----------
    pathname : str
        Path name of binary population

    Returns
    -------
    pop : list of dict
        Binary population
    """
    # Initialise population
    pop = []

    # Loop over all files
    for i in range(200):

        # Build filename
        filename = '%s/grbinary%d.txt' % (pathname, i+1)

        # Read file
        f = open(filename, 'r')
        lines = f.readlines()
        f.close()

        # Extract longitude (deg) and peridicity (days)
        lon = float(lines[1].split()[3])
        per = float(lines[4].split()[3])

        # Create entry
        entry = {'lon': lon, 'period': per}

        # Append binary
        pop.append(entry)

    # Return population
    return pop