def torder2i2t(torder):
    # if torder is a function, return it
    if inspect.isfunction(torder):
        return torder
    elif torder == 'flat' or torder == 'f':
        return fileiobase.index2trace_flat
    elif torder == 'opposite' or torder == 'o':
        return fileiobase.index2trace_opp
    elif torder == 'regular' or torder == 'r':
        return fileiobase.index2trace_reg
    else:
        raise ValueError("unknown torder" + str(torder))
Return this dimension's size as an integer.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/torder2i2t--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/arrayobj.py/Indexer.get_size