def create_axisdic(adic, tlen, dlen):
    """
    Make an Sparky axis dictionary from a universal axis dictionary.

    Parameters
    ----------
    adic : dict
        Axis dictionary from a universal dictionary.
    tlen : int
        Tile length of axis.
    dlen : int
        Data length of axis.

    Returns
    -------
    sdic : dict
        Sparky axis dictionary

    """
    dic = dict()
    dic['nucleus'] = adic['label']
    dic['spectral_shift'] = 0
    dic['npoints'] = int(dlen)
    dic['size'] = int(dlen)
    dic['bsize'] = int(tlen)
    dic['spectrometer_freq'] = float(adic['obs'])
    dic['spectral_width'] = float(adic['sw'])
    dic['xmtr_freq'] = float(adic['car']) / dic['spectrometer_freq']
    dic['zero_order'] = 0.0
    dic['first_order'] = 0.0
    dic['first_pt_scale'] = 0.0
    dic['extended'] = b'\x80'
    return dic
