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

    Parameters:

    * adic  axis dictionary from universal dictionary
    * tlen  tile length
    * dlen  data length

    """

    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"] = '\x80'        # transform bit set

    return dic