def makeb(meas, C8=True):
    """Make the measurement array b.

    b is a 6x1 array of measurements C3-C8 if C8=True
    else, b is a 5x1 array of measurements C3-C7

    Arguments:
    meas (array) measurement values

    Keyword arguments:
    C8 (boolean) whether C8 was measured.

    Returns:
    (array) measurement array
    """
    if C8:
        return meas
    else:
        return meas[:5]