def axisheader2dic(header):
    """
    Convert an axisheader list into Sparky parameter axis dictionary.
    """
    dic = dict()
    dic['nucleus'] = str(header[0].decode()).strip('\x00')
    dic['spectral_shift'] = header[1]
    dic['npoints'] = header[2]
    dic['size'] = header[3]
    dic['bsize'] = header[4]
    dic['spectrometer_freq'] = header[5]
    dic['spectral_width'] = header[6]
    dic['xmtr_freq'] = header[7]
    dic['zero_order'] = header[8]
    dic['first_order'] = header[9]
    dic['first_pt_scale'] = header[10]
    dic['extended'] = header[11]
    return dic
