Exemple #1
0
 def ext_gridloop_vec3(self, f):
     """As ext_gridloop_vec2, but callback to class method."""
     a = zeros((self.xcoor.size, self.ycoor.size))
     a = ext_gridloop.gridloop_vec2(a, f)
     return a
Exemple #2
0
 def ext_gridloop_vec3(self, f):
     """As ext_gridloop_vec2, but callback to class method."""
     a = zeros((self.xcoor.size, self.ycoor.size))
     a = ext_gridloop.gridloop_vec2(a, f)
     return a
Exemple #3
0
 def ext_gridloop_vec2(self, f):
     """As ext_gridloop_vec1, but callback to func. w/grid arg."""
     a = zeros((self.xcoor.size, self.ycoor.size))
     a = ext_gridloop.gridloop_vec2(a, f, func1_extra_args=(self,))
     return a
Exemple #4
0
 def ext_gridloop_vec2(self, f):
     """As ext_gridloop_vec1, but callback to func. w/grid arg."""
     a = zeros((self.xcoor.size, self.ycoor.size))
     a = ext_gridloop.gridloop_vec2(a, f, func1_extra_args=(self, ))
     return a