Ignore:
Timestamp:
May 25, 2006, 11:57:08 AM (19 years ago)
Author:
ole
Message:

Work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • development/stochastic_study/create_realisations.py

    r2966 r2968  
    4545    print 'Creating sample #%d' %n
    4646    # nth realisation of bathymetry
    47     z = elevation + normal(project.mean,
    48                            project.std_dev,
    49                            N)
     47
     48    if n == 0:
     49        z = elevation # Keep the first realisation as original
     50    else:   
     51        z = elevation + normal(project.mean,
     52                               project.std_dev,
     53                               N)
    5054
    5155    #Concatenate into array with each realisation a column
Note: See TracChangeset for help on using the changeset viewer.