Example #1
0
    def __getitem__(self, item):

        if isinstance(item, str):
            item = [item]

        item += self.grid.vars

        return dm.BinnedData(grid=self.grid, data=self.data[item])
Example #2
0
 def binwise(self, *args, **kwargs):
     return dm.BinnedData(data=self, *args, **kwargs)