- Timestamp:
- Oct 21, 2004, 5:54:28 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/test_least_squares.py
r430 r436 162 162 data_coords = [d1, d2, d3] 163 163 164 interp = Interpolation(points, triangles, data_coords, alpha=5.0e- 7)164 interp = Interpolation(points, triangles, data_coords, alpha=5.0e-20) 165 165 z = [z1, z2, z3] 166 166 f = interp.fit(z) … … 241 241 interp = Interpolation(points, triangles, data_coords, alpha=0.0) 242 242 z = [z1, z2, z3] 243 f = interp.fit (z)243 f = interp.fit_points(z) 244 244 answer = [[0,0], [5., 10.], [5., 10.]] 245 245 assert allclose(f, answer)
Note: See TracChangeset
for help on using the changeset viewer.