Changeset 4879
- Timestamp:
- Dec 7, 2007, 2:04:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/geospatial_data/geospatial_data.py
r4847 r4879 1387 1387 west_boundary=None, 1388 1388 plot_name='all_alphas', 1389 split_factor=0.1, 1389 1390 seed_num=None, 1390 1391 cache=False, … … 1477 1478 G = Geospatial_data(file_name = data_file) 1478 1479 if verbose: print 'start split' 1479 G_small, G_other = G.split( 0.1,seed_num, verbose=verbose)1480 G_small, G_other = G.split(split_factor,seed_num, verbose=verbose) 1480 1481 if verbose: print 'finish split' 1481 1482 points=G_small.get_data_points() … … 1558 1559 1559 1560 if plot_name is not None: 1560 1561 1561 from pylab import savefig,semilogx,loglog 1562 1563 1562 semilogx(normal_cov_new[:,0],normal_cov_new[:,1]) 1564 1563 loglog(normal_cov_new[:,0],normal_cov_new[:,1])
Note: See TracChangeset
for help on using the changeset viewer.