Changeset 687 for branches/UQ/math/legacy/TEST_OUQ_StAlData.py
- Timestamp:
- 06/15/13 18:43:09 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UQ/math/legacy/TEST_OUQ_StAlData.py
r585 r687 71 71 def maximize(params,npts,bounds): 72 72 73 from mystic.math.di rac_measure import scenario73 from mystic.math.discrete import scenario 74 74 from numpy import inf 75 75 target,error = params … … 108 108 ##################### begin function-specific ##################### 109 109 # impose mean on the values of the product measure 110 from mystic.math.di rac_measure import mean_y_norm_wts_constraintsFactory as factory110 from mystic.math.discrete import mean_y_norm_wts_constraintsFactory as factory 111 111 constrain = factory((target[0],error[0]), npts) 112 112 … … 193 193 nz = 2 #NOTE: SET THE NUMBER OF 'v' POINTS HERE! 194 194 npts = (nx,ny,nz) 195 from mystic.math. paramtransimport _npts195 from mystic.math.distance import _npts 196 196 _n = _npts(npts) 197 197 … … 257 257 258 258 from numpy import array 259 from mystic.math.di rac_measure import scenario259 from mystic.math.discrete import scenario 260 260 c = scenario() 261 261 c.load(solved,npts)
Note: See TracChangeset
for help on using the changeset viewer.