def parse_quantization(read_buffer, sqcd):
numbytes = len(read_buffer)<EOL>exponent = []<EOL>mantissa = []<EOL>if sqcd & <NUM_LIT> == <NUM_LIT:0>:  <EOL><INDENT>data = struct.unpack('<STR_LIT:>>' + '<STR_LIT:B>' * numbytes, read_buffer)<EOL>for j in range(len(data)):<EOL><INDENT>exponent.append(data[j] >> <NUM_LIT:3>)<EOL>mantissa.append(<NUM_LIT:0>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>fmt = '<STR_LIT:>>' + '<STR_LIT:H>' * int(numbytes / <NUM_LIT:2>)<EOL>data = struct.unpack(fmt, read_buffer)<EOL>for j in range(len(data)):<EOL><INDENT>exponent.append(data[j] >> <NUM_LIT:11>)<EOL>mantissa.append(data[j] & <NUM_LIT>)<EOL><DEDENT><DEDENT>return mantissa, exponent<EOL>
Tease out the quantization values.

    Parameters
    ----------
        read_buffer:  sequence of bytes from the QCC and QCD segments.

    Returns
    ------
    tuple
        Mantissa and exponents from quantization buffer.