def METHOD_NAME(self, raw_data):
    header_len = 8 * 4 + 4
    gdma_base, gdma_offset, bd_base, bd_offset, group_num = st.unpack(
        "QQQQI", raw_data[0:header_len]
    )
    group = []
    for i in range(group_num):
        group.append(
            st.unpack("II", raw_data[header_len + i * 8 : header_len + (i + 1) * 8])
        )
    CommandInfo = namedtuple(
        "CommandInfo", "gdma_base gdma_offset bd_base bd_offset group_num group"
    )
    return CommandInfo(gdma_base, gdma_offset, bd_base, bd_offset, group_num, group)