Changeset 2660 for inundation/fit_interpolate/interpolate.py
- Timestamp:
- Apr 5, 2006, 12:07:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/fit_interpolate/interpolate.py
r2659 r2660 229 229 start=0 230 230 # creating a dummy array to concatenate to. 231 z = zeros((0,2)) # 2 for points in 2D space 231 232 f = ensure_numeric(f, Float) 233 z = zeros((0,f.shape[1])) 232 234 for end in range(start_blocking_len 233 235 ,len(point_coordinates) … … 235 237 t = self.interpolate_block(f, point_coordinates[start:end], 236 238 verbose=verbose) 239 #print "t", t 240 #print "z", z 237 241 z = concatenate((z,t)) 238 242 start = end … … 269 273 #print "self.inside_poly_indices", self.inside_poly_indices 270 274 #print "z", z 271 #print "z.size", z.size272 275 for i in self.outside_poly_indices: 273 276 z[i] = INF
Note: See TracChangeset
for help on using the changeset viewer.