Changeset 687 for branches/UQ/math/legacy/MINMAX_StAlData.py
- Timestamp:
- 06/15/13 18:43:09 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UQ/math/legacy/MINMAX_StAlData.py
r585 r687 67 67 def maximize(params,npts,bounds): 68 68 69 from mystic.math.di rac_measure import scenario69 from mystic.math.discrete import scenario 70 70 from numpy import inf 71 71 target,error = params … … 104 104 ##################### begin function-specific ##################### 105 105 # impose norm on the weights of the discrete measures 106 from mystic.math.di rac_measure import norm_wts_constraintsFactory as factory106 from mystic.math.discrete import norm_wts_constraintsFactory as factory 107 107 constrain = factory(npts) 108 108 … … 167 167 nz = 1 #NOTE: SET THE NUMBER OF 'v' POINTS HERE! 168 168 npts = (nx,ny,nz) 169 from mystic.math. paramtransimport _npts169 from mystic.math.distance import _npts 170 170 _n = _npts(npts) 171 171 … … 229 229 230 230 from numpy import array 231 from mystic.math.di rac_measure import scenario231 from mystic.math.discrete import scenario 232 232 c = scenario() 233 233 c.load(solved,npts)
Note: See TracChangeset
for help on using the changeset viewer.