def _aggregate_tech_vintage_year_shape(self, x): if self.spy == 1: return x else: return util.sum_chunk(util.sum_chunk_vintage(x, self.spy, axis=1), self.spy, axis=2)
def _aggregate_tech_year_shape(self, x): if self.spy==1: return x else: return util.sum_chunk(x, self.spy, axis=0)
def _aggregate_tech_vintage_year_shape(self, x): if self.spy==1: return x else: return util.sum_chunk(util.sum_chunk_vintage(x, self.spy, axis=1), self.spy, axis=2)
def _aggregate_tech_year_shape(self, x): if self.spy == 1: return x else: return util.sum_chunk(x, self.spy, axis=0)