Example #1
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)
Example #2
0
 def _aggregate_tech_year_shape(self, x):
     if self.spy==1:
         return x
     else:
         return util.sum_chunk(x, self.spy, axis=0)
Example #3
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)
Example #4
0
 def _aggregate_tech_year_shape(self, x):
     if self.spy == 1:
         return x
     else:
         return util.sum_chunk(x, self.spy, axis=0)