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_1dSurr_diam.py

    r588 r687  
    7272def maximize(params,npts,bounds): 
    7373 
    74   from mystic.math.dirac_measure import scenario 
     74  from mystic.math.discrete import scenario 
    7575  from mystic.math import almostEqual 
    7676  from numpy import inf 
     
    189189  nz = 1  #NOTE: SET THE NUMBER OF 'v' POINTS HERE! 
    190190  npts = (nx,ny,nz) 
    191   from mystic.math.paramtrans import _npts 
     191  from mystic.math.distance import _npts 
    192192  _n = _npts(npts) 
    193193 
     
    253253 
    254254  from numpy import array 
    255   from mystic.math.dirac_measure import scenario 
     255  from mystic.math.discrete import scenario 
    256256  c = scenario() 
    257257  c.load(solved,npts) 
Note: See TracChangeset for help on using the changeset viewer.