def hyperheader2dic(head):
    dic = dict()
    dic["s_spare1"] = head[0]
    dic["status"] = head[1]
    dic["s_spare2"] = head[2]
    dic["s_spare3"] = head[3]
    dic["l_spare1"] = head[4]
    dic["lpval1"] = head[5]
    dic["rpval1"] = head[6]
    dic["f_spare1"] = head[7]
    dic["f_spare2"] = head[8]

    # unpack the status bits
    dic["UHYPERCOMPLEX"] = (dic["status"] & 0x2) // 0x2

    return dic
Processes an incoming BCP 'hello' command.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/hyperheader2dic--crossover with--dataset/ETHPy150Open missionpinball/mpf/mpf/media_controller/core/media_controller.py/MediaController.bcp_hello