

def __init__(self, Dataset, order=['y', 'x']):
    '\n        Create and set up object\n        '
    Dataset.Dataset = Dataset
    self.lenX = int(Dataset.shape[1])
    self.lenY = int(Dataset.shape[0])
    a = [self.lenY, self.lenX]
    self.order = order
    self.shape = tuple([a[order.index(k)] for k in ['y', 'x']])
    self.ndim = 2
    self.dtype = Dataset.dtype

dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/glue.py glue_2d.__init__/VarMisuse@22/43 `self`->`Dataset`