Changeset 2968 for development/stochastic_study/create_realisations.py
- Timestamp:
- May 25, 2006, 11:57:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
development/stochastic_study/create_realisations.py
r2966 r2968 45 45 print 'Creating sample #%d' %n 46 46 # 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) 50 54 51 55 #Concatenate into array with each realisation a column
Note: See TracChangeset
for help on using the changeset viewer.