Changeset 687 for branches/UQ/math/legacy/MM_OUQ_StAlData.py
- Timestamp:
- 06/15/13 18:43:09 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UQ/math/legacy/MM_OUQ_StAlData.py
r675 r687 75 75 def maximize(params,npts,bounds): 76 76 77 from mystic.math.di rac_measure import scenario77 from mystic.math.discrete import scenario 78 78 from numpy import inf 79 79 target,error = params … … 112 112 ##################### begin function-specific ##################### 113 113 # impose mean on the values of the product measure 114 from mystic.math.di rac_measure import mean_y_norm_wts_constraintsFactory as factory114 from mystic.math.discrete import mean_y_norm_wts_constraintsFactory as factory 115 115 constrain = factory((target[0],error[0]), npts) 116 116 … … 196 196 nz = 2 #NOTE: SET THE NUMBER OF 'v' POINTS HERE! 197 197 npts = (nx,ny,nz) 198 from mystic.math. paramtransimport _npts198 from mystic.math.distance import _npts 199 199 _n = _npts(npts) 200 200 … … 260 260 261 261 from numpy import array 262 from mystic.math.di rac_measure import scenario262 from mystic.math.discrete import scenario 263 263 c = scenario() 264 264 c.load(solved,npts)
Note: See TracChangeset
for help on using the changeset viewer.