def get_data(filename, no_header=False):
    """ Given a filename, get the contents as a list of 4D tuples.
    :params no_header: True if the csv has no header formatting.
    :returns data: [(t, x, y, z), ...]
    """
    with open(filename) as f:
        data = []
        if not no_header:
            first_line = f.readline()
        for line in f:
            t, x, y, z = line.split(',')
            data.append((float(t), float(x), float(y), float(z)))
    return data
