Ignore:
Timestamp:
Nov 19, 2008, 4:51:35 PM (15 years ago)
Author:
ole
Message:

Made weights an optional keyword argument to read_mux2_py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/data_manager.py

    r5880 r5982  
    48874887
    48884888def read_mux2_py(filenames,
    4889                  weights,
     4889                 weights=None,
    48904890                 permutation=None,
    48914891                 verbose=False):
     
    48984898           filenames:   List of filenames specifiying the file containing the
    48994899                        timeseries data (mux2 format) for each source
    4900            weights:     Weights associated with each source
     4900           weights:     Weighs associated with each source (defaults to 1 for each source)
    49014901           permutation: Specifies the gauge numbers that for which data is to be
    49024902                        extracted
     
    49154915    else:
    49164916        verbose=0
     4917
     4918    if weights is None:
     4919        weights = ones(numSrc)
    49174920       
    49184921    if permutation is None:
Note: See TracChangeset for help on using the changeset viewer.