Changeset 4879


Ignore:
Timestamp:
Dec 7, 2007, 2:04:08 PM (16 years ago)
Author:
nick
Message:

small change to split

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/geospatial_data/geospatial_data.py

    r4847 r4879  
    13871387                                     west_boundary=None,
    13881388                                     plot_name='all_alphas',
     1389                                     split_factor=0.1,
    13891390                                     seed_num=None,
    13901391                                     cache=False,
     
    14771478    G = Geospatial_data(file_name = data_file)
    14781479    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)
    14801481    if verbose: print 'finish split'
    14811482    points=G_small.get_data_points()
     
    15581559
    15591560    if plot_name is not None:
    1560 
    15611561        from pylab import savefig,semilogx,loglog
    1562    
    15631562        semilogx(normal_cov_new[:,0],normal_cov_new[:,1])
    15641563        loglog(normal_cov_new[:,0],normal_cov_new[:,1])
Note: See TracChangeset for help on using the changeset viewer.