Changeset 713
- Timestamp:
- 04/03/14 12:44:55 (2 years ago)
- Location:
- mystic
- Files:
-
- 201 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
mystic/_math/__init__.py
r687 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 math: mathematical functions and tools for use in mystic -
mystic/_math/approx.py
r468 r713 3 3 # almostEqual is a repackaging of numpy.allclose, but at different 'tol' 4 4 # approx_equal is similar to almostEqual, and can be treated as deprecated 5 # 6 # Forked by: Mike McKerns (May 2010) 7 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 8 # Copyright (c) 2010-2014 California Institute of Technology. 9 # License: 3-clause BSD. The full license text is available at: 10 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 11 """ 6 12 tools for measuring equality -
mystic/_math/compressed.py
r569 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 helpers for compressed format for measures -
mystic/_math/discrete.py
r694 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 Classes for discrete measure data objects. -
mystic/_math/distance.py
r687 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 distances and norms for the legacy data module -
mystic/_math/grid.py
r630 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 tools for generating points on a grid -
mystic/_math/integrate.py
r439 r713 1 #!/usr/bin/python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 math tools related to integration -
mystic/_math/legacydata.py
r687 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 ...data structures for legacy data observations of lipschitz functions -
mystic/_math/measures.py
r694 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 Methods to support discrete measures -
mystic/_math/poly.py
r259 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 tools for polynomial functions -
mystic/_math/samples.py
r438 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 tools related to sampling -
mystic/_math/stats.py
r438 r713 1 #!/usr/bin/python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Alta Fang (altafang @caltech and alta @princeton) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 """ 3 9 shortcut (?) math tools related to statistics; -
mystic/cache/__init__.py
r706 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2013-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 # backward compatability 2 9 from klepto import lru_cache, lfu_cache, mru_cache -
mystic/examples/TEST_ffitPP.py
r677 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Same as test_ffit.py -
mystic/examples/TEST_ffitPP2.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Testing the polynomial fitting problem of [1] using scipy's Nelder-Mead algorithm. -
mystic/examples/TEST_ffitPP2_b.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Testing the polynomial fitting problem of [1] using scipy's Nelder-Mead algorithm. -
mystic/examples/TEST_ffitPP_b.py
r677 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Same as test_ffit.py -
mystic/examples/buckshot_example06.py
r702 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/cg_rosenbrock.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 See test_rosenbrock.py. -
mystic/examples/constraint1_example01.py
r512 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/constraint2_example01.py
r513 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/constraint3_example01.py
r645 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/derun.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Patrick Hung & Mike McKerns, Caltech 4 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 Runs differential evolution as a pyre application -
mystic/examples/dummy.py
r335 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Patrick Hung & Mike McKerns, Caltech 4 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 dummy.py -- cost function container module for derun.py -
mystic/examples/example01.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example02.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example03.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example04.py
r577 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example05.py
r577 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example06.py
r531 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example07.py
r640 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example08.py
r471 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example09.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example10.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example11.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/example12.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/ezmap_desolve.py
r674 r713 1 1 #!/usr/bin/env python 2 #Adapted from parallel_desolve.py by mmckerns@caltech.edu 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 8 # Adapted from parallel_desolve.py 3 9 4 10 __doc__ = """ -
mystic/examples/ezmap_desolve_rosen.py
r677 r713 1 1 #!/usr/bin/env python 2 #Adapted from parallel_desolve.py by mmckerns@caltech.edu 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 8 # Adapted from parallel_desolve.py 3 9 4 10 __doc__ = """ -
mystic/examples/forward_model.py
r711 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Patrick Hung & Mike McKerns, Caltech 4 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 forward_model example -
mystic/examples/gplot_test_ffit.py
r88 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Adapted from DETest.py by Patrick Hung -
mystic/examples/lattice_example06.py
r702 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Example: -
mystic/examples/metropolis.py
r88 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 exercises the Metropolis-Hastings algorithm -
mystic/examples/mpl_corana.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Testing the Corana parabola in 1D. Requires matplotlib. -
mystic/examples/mpmap_desolve.py
r674 r713 1 1 #!/usr/bin/env python 2 #Adapted from parallel_desolve.py by mmckerns@caltech.edu 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 8 # Adapted from parallel_desolve.py 3 9 4 10 __doc__ = """ -
mystic/examples/mpmap_desolve_rosen.py
r677 r713 1 1 #!/usr/bin/env python 2 #Adapted from parallel_desolve.py by mmckerns@caltech.edu 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 8 # Adapted from parallel_desolve.py 3 9 4 10 __doc__ = """ -
mystic/examples/raw_chebyshev8.py
r236 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """ NOTE: 3 9 due to pickling issues, cost function is provided w/o using a factory method. -
mystic/examples/raw_chebyshev8b.py
r236 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """ NOTE: 3 9 due to pickling issues, cost function is provided w/o using a factory method. -
mystic/examples/raw_rosen.py
r228 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """ NOTE: 3 9 rosen rewritten as a pickleable function -
mystic/examples/restart_solver.py
r697 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.solvers import DifferentialEvolutionSolver 2 9 from mystic.solvers import NelderMeadSimplexSolver -
mystic/examples/rosetta_mogi.py
r470 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Mike McKerns, Caltech 4 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Example use of Forward Mogi Model -
mystic/examples/rosetta_parabola.py
r470 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Mike McKerns, Caltech 4 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Example use of Forward Poly Model -
mystic/examples/test_circle.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Given a set of points in the plane, find the smallest circle -
mystic/examples/test_corana.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Sets up Corana's parabola. This is problem 6 of testbed 1 in [1]. -
mystic/examples/test_dejong3.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Sets up De Jong's Third function. This is problem 3 of testbed 1 in [1]. -
mystic/examples/test_dejong4.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Sets up De Jong's Fourth function. This is problem 4 of testbed 1 in [1]. -
mystic/examples/test_dejong5.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Sets up De Jong's Fifth function. This is problem 5 of testbed 1 in [1]. -
mystic/examples/test_ffit.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Adapted from DETest.py by Patrick Hung -
mystic/examples/test_ffit2.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Sets up Storn and Price's Polynomial 'Fitting' Problem for ChebyshevT16 -
mystic/examples/test_ffitB.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Same as test_ffit.py -
mystic/examples/test_ffitC.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Testing the polynomial fitting problem of [1] using scipy's Nelder-Mead algorithm. -
mystic/examples/test_ffitD.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Same as test_ffitB.py -
mystic/examples/test_fosc3d.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Adapted from The Mathematica Guidebook, Numerics. -
mystic/examples/test_getCost.py
r625 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 """ 3 9 test_getCost.py -
mystic/examples/test_griewangk.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Sets up Griewangk's function. This is problem 7 of testbed 1 in [1]. -
mystic/examples/test_lorentzian.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Alternate fitting of a lorentzian peak (see test_lorentzian2.py) -
mystic/examples/test_lorentzian2.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Same as test_lorentzian, but with n being a fitted variable -
mystic/examples/test_mogi.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Tests a single mogi fitting. -
mystic/examples/test_mogi2.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Two mogi sources. Similar to test_mogi.py. (See that one first) -
mystic/examples/test_mogi3.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 One mogi source, similar to test_mogi, but uses -
mystic/examples/test_mogi4.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Similar to test_mogi2 (two sources) (See that one first) -
mystic/examples/test_mogi_anneal.py
r88 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Similar to test_mogi.py -
mystic/examples/test_mogi_leastsq.py
r88 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Similar to test_mogi.py -
mystic/examples/test_peaks.py
r484 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Testing the 'Peaks" Function. -
mystic/examples/test_rosenbrock.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Testing Rosenbrock's Function. -
mystic/examples/test_rosenbrock2.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 example of using NelderMeadSimplexSolver on the rosenbrock function -
mystic/examples/test_rosenbrock3.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 example of using PowellDirectionalSolver on the rosenbrock function -
mystic/examples/test_rosenbrock3b.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 example of using DifferentialEvolutionSolver on the rosenbrock function -
mystic/examples/test_twistedgaussian.py
r88 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 The Twisted Gausssian in -
mystic/examples/test_twistedgaussian2.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 In test_twistedgaussian, we compared SCEM (one chain) with metropolis. -
mystic/examples/test_twistedgaussian3.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 In test_twistedgaussian, we compared SCEM (one chain) with metropolis. -
mystic/examples/test_wavy.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 test some simple multi-minima functions, such as |x + 3 sin[x]| -
mystic/examples/test_zimmermann.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Sets up Zimmermann's problem. This is problem 8 of testbed 1 in [1] and [2]. -
mystic/examples_OUQ/TEST4d_OUQ_surrogate_diam.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
mystic/examples_OUQ/TEST_OUQ_surrogate_diam.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
mystic/examples_OUQ/surrogate.py
r255 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
mystic/examples_UQ/MM2_surrogate_diam_batchgrid.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/MM_surrogate_diam.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/MPI2_surrogate_diam_batchgrid.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/MPI_surrogate_diam.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/MPI_surrogate_diam_batchgrid.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 from mystic.math.grid import gridpts -
mystic/examples_UQ/MPI_surrogate_diam_scatter.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 from mystic.math.grid import samplepts -
mystic/examples_UQ/MSUB_surrogate_diam_batchgrid.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 from mystic.math.grid import gridpts -
mystic/examples_UQ/QSUB2_surrogate_diam_batchgrid.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/QSUB_surrogate_diam_batchgrid.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 from mystic.math.grid import gridpts -
mystic/examples_UQ/TEST.py
r689 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/TEST2.py
r689 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/TEST3.py
r689 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/TEST3b.py
r689 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/TEST_surrogate_McD.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/TEST_surrogate_cut.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 DEBUG = False -
mystic/examples_UQ/TEST_surrogate_diam.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
mystic/examples_UQ/TEST_surrogate_diam_batchgrid.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 from mystic.math.grid import gridpts -
mystic/examples_UQ/TEST_surrogate_diam_scatter.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 from mystic.math.grid import samplepts -
mystic/examples_UQ/TEST_surrogate_samples.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 DEBUG = False -
mystic/examples_UQ/TEST_surrogate_smartcut.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 DEBUG = True -
mystic/examples_UQ/pool_helper.py
r688 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 # MPI config -
mystic/examples_UQ/surrogate.py
r200 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
mystic/examples_other/CubeSection.py
r88 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 3 8 # This example is a derivative of vtk's ClipCow 4 9 # It is a visualization of Prince Rupert's problem 5 6 10 7 11 import vtk, Tkinter -
mystic/examples_other/qld_circle_dual.py
r133 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Solve the dual form of test_circle.py. -
mystic/examples_other/sam_cg_rosenbrock.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 See test_rosenbrock.py. -
mystic/examples_other/sam_cg_zimmermann.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 See test_zimmermann.py. -
mystic/examples_other/sam_circle_matlab.py
r133 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Solve the dual form of test_circle.py with matlab's quadprog (via sam) -
mystic/examples_other/sam_corana.py
r465 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Testing the Corana parabola in 1D. Requires sam. -
mystic/examples_other/sam_corana2.py
r470 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 See test_corana.py. -
mystic/examples_other/sam_mogi.py
r470 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 See test_mogi.py -
mystic/examples_other/sam_rosenbrock.py
r470 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 See test_rosenbrock.py. -
mystic/examples_other/sam_zimmermann.py
r470 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 See test_zimmermann.py. -
mystic/examples_other/test_argv.py
r88 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 import sys -
mystic/examples_other/test_br8.py
r708 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Data from Chapter 8 of Bevington and Robinson -
mystic/examples_other/test_gplot.py
r465 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 from mystic.tools import getch -
mystic/examples_other/test_scem.py
r88 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Tests functionality of misc. functions in scem.py -
mystic/examples_other/test_smo1.py
r88 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Support Vector Classification. -
mystic/examples_other/test_svc1.py
r88 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Support Vector Classification. Example 1 -
mystic/examples_other/test_svc2.py
r88 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Support Vector Classification. Example 2. -
mystic/examples_other/test_svr1.py
r88 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Support Vector Regression. Example 1 -
mystic/examples_other/test_svr2.py
r88 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Support Vector Regression. Example 1 -
mystic/models/__init__.py
r531 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 """ 3 9 models: sample models and functions prepared for use in mystic -
mystic/models/_model_helper.py
r693 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 1 8 2 9 chebyshev2coeffs = [2., 0., -1.] -
mystic/models/abstract_model.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Base classes for mystic's provided models:: -
mystic/models/br8.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Bevington & Robinson's model of dual exponential decay -
mystic/models/circle.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 2d array representation of a circle -
mystic/models/corana.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Corana's function -
mystic/models/dejong.py
r415 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Rosenbrock's function, De Jong's step function, De Jong's quartic function, -
mystic/models/fosc3d.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 the fOsc3D Mathematica function -
mystic/models/griewangk.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Griewangk's function -
mystic/models/lorentzian.py
r674 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Lorentzian peak model -
mystic/models/mogi.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Mogi's model of surface displacements from a point spherical source in an -
mystic/models/poly.py
r674 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 1d model representation for polynomials -
mystic/models/wavy.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 simple sine-based multi-minima functions -
mystic/models/zimmermann.py
r143 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Zimmermann's function -
mystic/mystic/__init__.py
r711 r713 1 1 #!/usr/bin/env python 2 2 # 3 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 4 # Author: Alta Fang (altafang @caltech and alta @princeton) 5 5 # Author: Patrick Hung (patrickh @caltech) 6 # Copyright (c) 1997-2014 Caltech 7 # License: 3-clause BSD 6 # Copyright (c) 1997-2014 California Institute of Technology. 7 # License: 3-clause BSD. The full license text is available at: 8 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 8 9 9 10 # get version numbers, license, and long description -
mystic/mystic/_genSow.py
r466 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Mike McKerns, Caltech 4 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """a helper class for the CustomMonitor function""" 6 8 -
mystic/mystic/_scipy060optimize.py
r422 r713 6 6 # guarantee implied provided you keep this notice in all copies. 7 7 # *****END NOTICE************ 8 # 9 # Forked by: Mike McKerns (February 2009) 10 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 11 # Copyright (c) 2009-2014 California Institute of Technology. 12 # License: 3-clause BSD. The full license text is available at: 13 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 8 14 """local copy of scipy.optimize""" 9 15 -
mystic/mystic/_scipyoptimize.py
r422 r713 1 1 #!/usr/bin/env python 2 # ******NOTICE*************** 3 # optimize.py module by Travis E. Oliphant 4 # 5 # You may copy and use this module as you see fit with no 6 # guarantee implied provided you keep this notice in all copies. 7 # *****END NOTICE************ 8 # 9 # Forked by: Mike McKerns (February 2009) 10 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 11 # Copyright (c) 2009-2014 California Institute of Technology. 12 # License: 3-clause BSD. The full license text is available at: 13 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 14 """modified algorithms from local copy of scipy.optimize""" 3 15 -
mystic/mystic/_symbolic.py
r686 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Alta Fang (altafang @caltech and alta @princeton) 5 # Copyright (c) 2008-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 8 1 9 # The following code attempts to construct something like: 2 10 # >>> from sympy import Eq, Symbol -
mystic/mystic/abstract_launcher.py
r702 r713 1 1 #!/usr/bin/env/python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 This module contains the base classes for pathos pool and pipe objects, -
mystic/mystic/abstract_map_solver.py
r702 r713 1 1 #!/usr/bin/env python 2 2 # 3 ## Abstract Map Solver Class 4 # by mmckerns@caltech.edu 5 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 8 # Abstract Solver Class 6 9 """ 7 10 This module contains the base class for mystic solvers that utilize -
mystic/mystic/abstract_nested_solver.py
r684 r713 1 1 #!/usr/bin/env python 2 2 # 3 ## Abstract Nested Solver Class 4 # by mmckerns@caltech.edu 5 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 8 # Abstract Nested Solver Class 6 9 """ 7 10 This module contains the base class for launching several mystic solvers -
mystic/mystic/abstract_solver.py
r705 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 # 3 8 ## Abstract Solver Class 4 9 # derived from Patrick Hung's original DifferentialEvolutionSolver 5 # by mmckerns@caltech.edu6 7 10 """ 8 11 This module contains the base class for mystic solvers, and describes -
mystic/mystic/constraints.py
r652 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Alta Fang (altafang @caltech and alta @princeton) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """Tools for building and applying constraints and penalties. 4 9 """ -
mystic/mystic/coupler.py
r645 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Function Couplers -
mystic/mystic/differential_evolution.py
r698 r713 19 19 ## additional DE Solver (DESolver2) added by Patrick Hung. 20 20 ## 21 ## bounds (and minimal interface) added by mmckerns@caltech.edu22 ## adapted to AbstractSolver interface by mmckerns@caltech.edu21 ## bounds (and minimal interface) added by Mike McKerns 22 ## adapted to AbstractSolver interface by Mike McKerns 23 23 ## 24 ## modified for AbstractMapSolver interface by mmckerns@caltech.edu 24 ## modified for AbstractMapSolver interface by Mike McKerns 25 # 26 # Author: Patrick Hung (patrickh @caltech) 27 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 28 # Copyright (c) 2006-2014 California Institute of Technology. 29 # License: 3-clause BSD. The full license text is available at: 30 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 25 31 26 32 """ -
mystic/mystic/filters.py
r335 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Patrick Hung & Mike McKerns, Caltech 4 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Input/output 'filters' -
mystic/mystic/forward_model.py
r335 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Patrick Hung & Mike McKerns, Caltech 4 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 This module contains classes that aid in constructing cost functions. -
mystic/mystic/helputil.py
r335 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Patrick Hung & Mike McKerns, Caltech 4 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Tools for prettifying help -
mystic/mystic/linesearch.py
r422 r713 1 1 #!/usr/bin/env python 2 # ******NOTICE*************** 3 # optimize.py module by Travis E. Oliphant 4 # 5 # You may copy and use this module as you see fit with no 6 # guarantee implied provided you keep this notice in all copies. 7 # *****END NOTICE************ 8 # 9 # Forked by: Mike McKerns (February 2009) 10 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 11 # Copyright (c) 2009-2014 California Institute of Technology. 12 # License: 3-clause BSD. The full license text is available at: 13 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 14 """ local copy of scipy.optimize.linesearch """ 3 15 -
mystic/mystic/metropolis.py
r124 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Implements a simple version of the Metropolis-Hastings algorithm -
mystic/mystic/monitors.py
r704 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 # 3 9 # Null was adapted (and bugfixed) from the python cookbook -
mystic/mystic/munge.py
r575 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.tools import list_or_tuple_or_ndarray as sequence 2 9 from mystic.tools import isNull -
mystic/mystic/nested.py
r698 r713 1 1 #!/usr/bin/env python 2 2 # 3 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 4 7 """ 5 8 Solvers -
mystic/mystic/penalty.py
r645 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Alta Fang (altafang @caltech and alta @princeton) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 8 """ 4 9 Penalty Methods -
mystic/mystic/python.py
r685 r713 1 #!/usr/bin/env/python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 This module contains map and pipe interfaces to standard (i.e. serial) python. -
mystic/mystic/python_map.py
r702 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Defaults for mapper and launcher. These should be -
mystic/mystic/scemtools.py
r125 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 7 """ 4 8 Implements the "Shuffled Complex Evolution Metropolis" Algoritm -
mystic/mystic/scipy_optimize.py
r698 r713 10 10 # adapted scipy.optimize.fmin_powell 11 11 # updated solvers to scipy version 0.9.0 12 # by mmckerns@caltech.edu 12 # by Mike McKerns 13 # 14 # Author: Patrick Hung (patrickh @caltech) 15 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 16 # Copyright (c) 1997-2014 California Institute of Technology. 17 # License: 3-clause BSD. The full license text is available at: 18 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 13 19 14 20 """ -
mystic/mystic/solvers.py
r649 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 solvers: minimal and expanded interfaces for optimization algorithms -
mystic/mystic/strategy.py
r637 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 8 # 3 9 # Differential Evolution Strategies adapted from DESolver.py by Patrick Hung 4 5 10 """ 6 11 Differential Evolution Strategies -
mystic/mystic/svctools.py
r124 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Simple utility functions for SV-classifications -
mystic/mystic/svmtools.py
r88 r713 1 1 #!/usr/bin/env python 2 # 3 # Patrick Hung. 4 2 # 3 # Author: Patrick Hung (patrickh @caltech) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 """ 6 8 Simple utility functions for SV-Regressions -
mystic/mystic/symbolic.py
r686 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 2010-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 8 # 3 9 # originally coded by Alta Fang, 2010 4 # refactored by mmckerns@caltech.edu, 201210 # refactored by Mike McKerns, 2012 5 11 """Tools for working with symbolic constraints. 6 12 """ -
mystic/mystic/termination.py
r653 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Author: Alta Fang (altafang @caltech and alta @princeton) 6 # Copyright (c) 2010-2014 California Institute of Technology. 7 # License: 3-clause BSD. The full license text is available at: 8 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 3 9 """ 4 10 Factories that provide termination conditions for a mystic.solver -
mystic/mystic/tools.py
r712 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Patrick Hung & Mike McKerns, Caltech 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Patrick Hung (patrickh @caltech) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 4 8 # 5 9 # flatten was adapted from the python cookbook -
mystic/scripts/__init__.py
r374 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 1 8 # dummy __init__ file for mystic scripts -
mystic/scripts/mystic_log_reader.py
r476 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 __doc__ = """ 3 9 mystic_log_reader.py [options] filename -
mystic/scripts/support_convergence.py
r502 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 __doc__ = """ 3 9 support_convergence.py [options] filename -
mystic/scripts/support_hypercube.py
r570 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 __doc__ = """ 3 9 support_hypercube.py [options] filename -
mystic/scripts/support_hypercube_measures.py
r570 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 __doc__ = """ 3 9 support_hypercube_measures.py [options] filename -
mystic/scripts/support_hypercube_scenario.py
r687 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 __doc__ = """ 3 9 support_hypercube_scenario.py [options] filename (datafile) -
mystic/setup.py
r711 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Michael McKerns 4 # mmckerns@caltech.edu 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 7 6 8 from __future__ import with_statement -
mystic/tests/chebyshevinputs.py
r335 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Alta Fang & Mike McKerns, Caltech 4 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 chebyshevinputs.py -- cost function container module for NelderMeadSimplexSolver -
mystic/tests/chebyshevinputs_de.py
r335 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Alta Fang & Mike McKerns, Caltech 4 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 chebychevinputs_de.py -- cost function container module for differential evolution -
mystic/tests/roseninputs.py
r335 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Alta Fang & Mike McKerns, Caltech 4 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 roseninputs.py -- inputs for testing the rosenbrock function for testsolvers_pyre.py -
mystic/tests/solver_test_best_performance.py
r640 r713 1 #!/usr/bin/python 1 #!/usr/bin/env python 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 """Test Mystic's performance on some benchmark problems, with Mystic's settings 3 9 adjusted to achieve the best results. -
mystic/tests/solver_test_compare.py
r654 r713 1 #!/usr/bin/env python 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 8 1 9 try: 2 10 from scipy.optimize import fmin, fmin_powell -
mystic/tests/solver_test_sanity.py
r632 r713 1 #!/usr/bin/python 1 #!/usr/bin/env python 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 """A sanity test suite for Mystic solvers.""" 3 9 # should report clock-time, # of iterations, and # of function evaluations -
mystic/tests/solver_test_suite.py
r634 r713 1 #!/usr/bin/python 1 #!/usr/bin/env python 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 """A test suite for Mystic solvers. 3 9 Note: VTR termination with default tolerance shouldn't work for functions -
mystic/tests/test_1d2d_expect.py
r687 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.math.measures import * 2 9 from mystic.math.discrete import * -
mystic/tests/test_SOW.py
r568 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Mike McKerns, Caltech 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 4 7 5 8 from mystic.munge import write_support_file, write_converge_file, write_raw_file -
mystic/tests/test_SOW2.py
r704 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.monitors import * 9 2 10 a = Null() 3 11 b = Monitor() -
mystic/tests/test_compound_termination.py
r543 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 """ -
mystic/tests/test_constraints.py
r646 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.constraints import * 2 9 from mystic.penalty import quadratic_equality -
mystic/tests/test_coupler.py
r645 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.coupler import * 2 9 from mystic.math import almostEqual -
mystic/tests/test_dirac_measure.py
r688 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 8 # Adapted from seesaw2d.py in branches/UQ/math/examples2/ 9 # For usage example, see seesaw2d_inf_example.py . 2 10 """ 3 11 TESTS for Dirac measure data objects. 4 12 Includes point_mass, measure, and product_measure classes. 5 13 """ 6 # Adapted from seesaw2d.py in branches/UQ/math/examples2/7 # For usage example, see seesaw2d_inf_example.py .8 14 9 15 from mystic.math.discrete import point_mass as point -
mystic/tests/test_expectation.py
r687 r713 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 test imposing the expectation for a function f by optimization -
mystic/tests/test_impose.py
r646 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.math.measures import * 2 9 from mystic.math import almostEqual -
mystic/tests/test_method_order.py
r705 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.models import rosen 2 9 from mystic.solvers import * -
mystic/tests/test_solver_constraints.py
r685 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.constraints import * 2 9 from mystic.solvers import * -
mystic/tests/test_solver_state.py
r654 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from mystic.solvers import DifferentialEvolutionSolver 2 9 from mystic.solvers import NelderMeadSimplexSolver, PowellDirectionalSolver -
mystic/tests/test_symbolic.py
r686 r713 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Author: Alta Fang (altafang @caltech and alta @princeton) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 8 1 9 from mystic.symbolic import * 2 10 from mystic.math import almostEqual -
mystic/tests/test_symbolic_basic.py
r686 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 2010-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 2 7 # 3 8 # coded by Alta Fang, 2010 -
mystic/tests/test_termination.py
r538 r713 1 1 #!/usr/bin/env python 2 # 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 8 """test termination conditions. (defaults listed below) 3 9 -
mystic/tests/testsolvers_pyre.py
r625 r713 1 1 #!/usr/bin/env python 2 2 # 3 # Alta Fang & Mike McKerns, Caltech 4 3 # Author: Alta Fang (altafang @caltech and alta @princeton) 4 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 5 # Copyright (c) 1997-2014 California Institute of Technology. 6 # License: 3-clause BSD. The full license text is available at: 7 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 5 8 """ 6 9 Runs mystic solvers as a pyre application
Note: See TracChangeset
for help on using the changeset viewer.