def make_uc(dic, data, dim=-1):
    if dim == -1:
        dim = data.ndim - 1  # last dimention

    size = dic[dim]["size"]
    cplex = dic[dim]["complex"]
    sw = dic[dim]["sw"]
    obs = dic[dim]["obs"]
    car = dic[dim]["car"]

    return fileiobase.unit_conversion(size, cplex, sw, obs, car)


# dictionary/data creation functions (null functions)
make a unit conversion object
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/glue.py/make_uc