def get_mids(mids):
    """arranges mid values and emus in list"""
    modified_mids = [[], []]
    measured_emus = mids[0]
    i = 0
    while i < len(mids[1]):
        vals = float(mids[1][i])
        err = float(mids[2][i])
        modified_mids[0].append(vals)
        modified_mids[1].append(err)
        i += 1
    modified_mids.append(measured_emus)
    return modified_mids
