Ignore:
Timestamp:
06/15/13 18:43:09 (3 years ago)
Author:
mmckerns
Message:

renaming of some of the measure methods, including dirac_measure to measure
moved dirac_measure.py to discrete.py, and paramtrans to distance
added isinstance to tools; added min, max, ess_min, ess_max to measures
moved dirac_measure.coords to dirac_measure.positions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UQ/math/sausage/TEST_OUQ_StStSurr.py

    r588 r687  
    7171def maximize(params,npts,bounds): 
    7272 
    73   from mystic.math.dirac_measure import scenario 
     73  from mystic.math.discrete import scenario 
    7474  from mystic.math import almostEqual 
    7575  from numpy import inf 
     
    201201  nz = 1  #NOTE: SET THE NUMBER OF 'v' POINTS HERE! 
    202202  npts = (nx,ny,nz) 
    203   from mystic.math.paramtrans import _npts 
     203  from mystic.math.distance import _npts 
    204204  _n = _npts(npts) 
    205205 
     
    265265 
    266266  from numpy import array 
    267   from mystic.math.dirac_measure import scenario 
     267  from mystic.math.discrete import scenario 
    268268  c = scenario() 
    269269  c.load(solved,npts) 
Note: See TracChangeset for help on using the changeset viewer.