Changeset 713


Ignore:
Timestamp:
04/03/14 12:44:55 (2 years ago)
Author:
mmckerns
Message:

added license and copyright to each file

Location:
mystic
Files:
201 edited
1 copied

Legend:

Unmodified
Added
Removed
  • mystic/_math/__init__.py

    r687 r713  
    11#!/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 
    27""" 
    38math: mathematical functions and tools for use in mystic 
  • mystic/_math/approx.py

    r468 r713  
    33# almostEqual is a repackaging of numpy.allclose, but at different 'tol' 
    44# 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 
    511""" 
    612tools 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 
    27""" 
    38helpers 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 
    27""" 
    38Classes 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 
    27""" 
    38distances and norms for the legacy data module 
  • mystic/_math/grid.py

    r630 r713  
    11#!/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 
    37""" 
    48tools 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 
    27""" 
    38math 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 
    27""" 
    38...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 
    27""" 
    38Methods to support discrete measures 
  • mystic/_math/poly.py

    r259 r713  
    11#!/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 
    37""" 
    48tools for polynomial functions 
  • mystic/_math/samples.py

    r438 r713  
    11#!/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 
    37""" 
    48tools 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 
    28""" 
    39shortcut (?) 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 
    18# backward compatability 
    29from klepto import lru_cache, lfu_cache, mru_cache 
  • mystic/examples/TEST_ffitPP.py

    r677 r713  
    11#!/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 
    37""" 
    48Same as test_ffit.py 
  • mystic/examples/TEST_ffitPP2.py

    r465 r713  
    11#!/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 
    37""" 
    48Testing the polynomial fitting problem of [1] using scipy's Nelder-Mead algorithm. 
  • mystic/examples/TEST_ffitPP2_b.py

    r465 r713  
    11#!/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 
    37""" 
    48Testing the polynomial fitting problem of [1] using scipy's Nelder-Mead algorithm. 
  • mystic/examples/TEST_ffitPP_b.py

    r677 r713  
    11#!/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 
    37""" 
    48Same as test_ffit.py 
  • mystic/examples/buckshot_example06.py

    r702 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/cg_rosenbrock.py

    r465 r713  
    11#!/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 
    37""" 
    48See test_rosenbrock.py. 
  • mystic/examples/constraint1_example01.py

    r512 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/constraint2_example01.py

    r513 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/constraint3_example01.py

    r645 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/derun.py

    r625 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69Runs differential evolution as a pyre application 
  • mystic/examples/dummy.py

    r335 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69dummy.py -- cost function container module for derun.py 
  • mystic/examples/example01.py

    r465 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example02.py

    r465 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example03.py

    r465 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example04.py

    r577 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example05.py

    r577 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example06.py

    r531 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example07.py

    r640 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example08.py

    r471 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example09.py

    r625 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example10.py

    r625 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example11.py

    r625 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/example12.py

    r465 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/ezmap_desolve.py

    r674 r713  
    11#!/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 
    39 
    410__doc__ = """ 
  • mystic/examples/ezmap_desolve_rosen.py

    r677 r713  
    11#!/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 
    39 
    410__doc__ = """ 
  • mystic/examples/forward_model.py

    r711 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69forward_model example 
  • mystic/examples/gplot_test_ffit.py

    r88 r713  
    11#!/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 
    38""" 
    49Adapted from DETest.py by Patrick Hung 
  • mystic/examples/lattice_example06.py

    r702 r713  
    11#!/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 
    37""" 
    48Example: 
  • mystic/examples/metropolis.py

    r88 r713  
    11#!/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 
    38""" 
    49exercises the Metropolis-Hastings algorithm 
  • mystic/examples/mpl_corana.py

    r465 r713  
    11#!/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 
    38""" 
    49Testing the Corana parabola in 1D. Requires matplotlib. 
  • mystic/examples/mpmap_desolve.py

    r674 r713  
    11#!/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 
    39 
    410__doc__ = """ 
  • mystic/examples/mpmap_desolve_rosen.py

    r677 r713  
    11#!/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 
    39 
    410__doc__ = """ 
  • mystic/examples/raw_chebyshev8.py

    r236 r713  
    11#!/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  
    28""" NOTE: 
    39due to pickling issues, cost function is provided w/o using a factory method. 
  • mystic/examples/raw_chebyshev8b.py

    r236 r713  
    11#!/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  
    28""" NOTE: 
    39due to pickling issues, cost function is provided w/o using a factory method. 
  • mystic/examples/raw_rosen.py

    r228 r713  
    11#!/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 
    28""" NOTE: 
    39rosen 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 
    18from mystic.solvers import DifferentialEvolutionSolver 
    29from mystic.solvers import NelderMeadSimplexSolver 
  • mystic/examples/rosetta_mogi.py

    r470 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    57""" 
    68Example use of Forward Mogi Model 
  • mystic/examples/rosetta_parabola.py

    r470 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    57""" 
    68Example use of Forward Poly Model 
  • mystic/examples/test_circle.py

    r625 r713  
    11#!/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 
    38""" 
    49Given a set of points in the plane, find the smallest circle 
  • mystic/examples/test_corana.py

    r625 r713  
    11#!/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 
    38""" 
    49Sets up Corana's parabola. This is problem 6 of testbed 1 in [1]. 
  • mystic/examples/test_dejong3.py

    r625 r713  
    11#!/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 
    38""" 
    49Sets up De Jong's Third function. This is problem 3 of testbed 1 in [1]. 
  • mystic/examples/test_dejong4.py

    r625 r713  
    11#!/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 
    38""" 
    49Sets up De Jong's Fourth function. This is problem 4 of testbed 1 in [1]. 
  • mystic/examples/test_dejong5.py

    r625 r713  
    11#!/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 
    38""" 
    49Sets up De Jong's Fifth function. This is problem 5 of testbed 1 in [1]. 
  • mystic/examples/test_ffit.py

    r625 r713  
    11#!/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 
    38""" 
    49Adapted from DETest.py by Patrick Hung 
  • mystic/examples/test_ffit2.py

    r625 r713  
    11#!/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 
    38""" 
    49Sets up Storn and Price's Polynomial 'Fitting' Problem for ChebyshevT16 
  • mystic/examples/test_ffitB.py

    r625 r713  
    11#!/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 
    37""" 
    48Same as test_ffit.py 
  • mystic/examples/test_ffitC.py

    r465 r713  
    11#!/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 
    37""" 
    48Testing the polynomial fitting problem of [1] using scipy's Nelder-Mead algorithm. 
  • mystic/examples/test_ffitD.py

    r465 r713  
    11#!/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 
    37""" 
    48Same as test_ffitB.py 
  • mystic/examples/test_fosc3d.py

    r625 r713  
    11#!/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 
    38""" 
    49Adapted from The Mathematica Guidebook, Numerics. 
  • mystic/examples/test_getCost.py

    r625 r713  
    11#!/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 
    28""" 
    39test_getCost.py 
  • mystic/examples/test_griewangk.py

    r625 r713  
    11#!/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 
    38""" 
    49Sets up Griewangk's function. This is problem 7 of testbed 1 in [1]. 
  • mystic/examples/test_lorentzian.py

    r625 r713  
    11#!/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 
    38""" 
    49Alternate fitting of a lorentzian peak (see test_lorentzian2.py) 
  • mystic/examples/test_lorentzian2.py

    r625 r713  
    11#!/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 
    38""" 
    49Same as test_lorentzian, but with n being a fitted variable 
  • mystic/examples/test_mogi.py

    r625 r713  
    11#!/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 
    38""" 
    49Tests a single mogi fitting.  
  • mystic/examples/test_mogi2.py

    r625 r713  
    11#!/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 
    38""" 
    49Two mogi sources. Similar to test_mogi.py. (See that one first) 
  • mystic/examples/test_mogi3.py

    r625 r713  
    11#!/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 
    38""" 
    49One mogi source, similar to test_mogi, but uses 
  • mystic/examples/test_mogi4.py

    r625 r713  
    11#!/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 
    38""" 
    49Similar to test_mogi2 (two sources) (See that one first) 
  • mystic/examples/test_mogi_anneal.py

    r88 r713  
    11#!/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 
    38""" 
    49Similar to test_mogi.py 
  • mystic/examples/test_mogi_leastsq.py

    r88 r713  
    11#!/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 
    38""" 
    49Similar to test_mogi.py 
  • mystic/examples/test_peaks.py

    r484 r713  
    11#!/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 
    38""" 
    49Testing the 'Peaks" Function. 
  • mystic/examples/test_rosenbrock.py

    r625 r713  
    11#!/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 
    38""" 
    49Testing Rosenbrock's Function. 
  • mystic/examples/test_rosenbrock2.py

    r625 r713  
    11#!/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 
    38""" 
    49example of using NelderMeadSimplexSolver on the rosenbrock function 
  • mystic/examples/test_rosenbrock3.py

    r625 r713  
    11#!/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 
    38""" 
    49example of using PowellDirectionalSolver on the rosenbrock function 
  • mystic/examples/test_rosenbrock3b.py

    r625 r713  
    11#!/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 
    38""" 
    49example of using DifferentialEvolutionSolver on the rosenbrock function 
  • mystic/examples/test_twistedgaussian.py

    r88 r713  
    11#!/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 
    38""" 
    49The Twisted Gausssian in 
  • mystic/examples/test_twistedgaussian2.py

    r465 r713  
    11#!/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 
    38""" 
    49In test_twistedgaussian, we compared SCEM (one chain) with metropolis. 
  • mystic/examples/test_twistedgaussian3.py

    r465 r713  
    11#!/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 
    38""" 
    49In test_twistedgaussian, we compared SCEM (one chain) with metropolis. 
  • mystic/examples/test_wavy.py

    r625 r713  
    11#!/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 
    38""" 
    49test some simple multi-minima functions, such as |x + 3 sin[x]| 
  • mystic/examples/test_zimmermann.py

    r625 r713  
    11#!/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 
    38""" 
    49Sets 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  
    11#!/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 
    27 
    38debug = False 
  • mystic/examples_OUQ/TEST_OUQ_surrogate_diam.py

    r688 r713  
    11#!/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 
    27 
    38debug = 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 
    28"""Original matlab code: 
    39 
  • mystic/examples_UQ/MM2_surrogate_diam_batchgrid.py

    r688 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/MM_surrogate_diam.py

    r688 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/MPI2_surrogate_diam_batchgrid.py

    r688 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/MPI_surrogate_diam.py

    r688 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/MPI_surrogate_diam_batchgrid.py

    r688 r713  
    11#!/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 
    27 
    38from mystic.math.grid import gridpts 
  • mystic/examples_UQ/MPI_surrogate_diam_scatter.py

    r688 r713  
    11#!/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 
    27 
    38from mystic.math.grid import samplepts 
  • mystic/examples_UQ/MSUB_surrogate_diam_batchgrid.py

    r688 r713  
    11#!/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 
    27 
    38from mystic.math.grid import gridpts 
  • mystic/examples_UQ/QSUB2_surrogate_diam_batchgrid.py

    r688 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/QSUB_surrogate_diam_batchgrid.py

    r688 r713  
    11#!/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 
    27 
    38from mystic.math.grid import gridpts 
  • mystic/examples_UQ/TEST.py

    r689 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/TEST2.py

    r689 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/TEST3.py

    r689 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/TEST3b.py

    r689 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/TEST_surrogate_McD.py

    r688 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/TEST_surrogate_cut.py

    r688 r713  
    11#!/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 
    27 
    38DEBUG = False 
  • mystic/examples_UQ/TEST_surrogate_diam.py

    r688 r713  
    11#!/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 
    27 
    38####################################################################### 
  • mystic/examples_UQ/TEST_surrogate_diam_batchgrid.py

    r688 r713  
    11#!/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 
    27 
    38from mystic.math.grid import gridpts 
  • mystic/examples_UQ/TEST_surrogate_diam_scatter.py

    r688 r713  
    11#!/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 
    27 
    38from mystic.math.grid import samplepts 
  • mystic/examples_UQ/TEST_surrogate_samples.py

    r688 r713  
    11#!/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 
    27 
    38DEBUG = False 
  • mystic/examples_UQ/TEST_surrogate_smartcut.py

    r688 r713  
    11#!/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 
    27 
    38DEBUG = True 
  • mystic/examples_UQ/pool_helper.py

    r688 r713  
    11#!/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 
    27 
    38# 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 
    28"""Original matlab code: 
    39 
  • mystic/examples_other/CubeSection.py

    r88 r713  
    11#!/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# 
    38# This example is a derivative of vtk's ClipCow 
    49# It is a visualization of Prince Rupert's problem 
    5  
    610 
    711import vtk, Tkinter 
  • mystic/examples_other/qld_circle_dual.py

    r133 r713  
    11#!/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 
    57""" 
    68Solve the dual form of test_circle.py. 
  • mystic/examples_other/sam_cg_rosenbrock.py

    r465 r713  
    11#!/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 
    37""" 
    48See test_rosenbrock.py. 
  • mystic/examples_other/sam_cg_zimmermann.py

    r465 r713  
    11#!/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 
    37""" 
    48See test_zimmermann.py. 
  • mystic/examples_other/sam_circle_matlab.py

    r133 r713  
    11#!/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 
    57""" 
    68Solve the dual form of test_circle.py with matlab's quadprog (via sam) 
  • mystic/examples_other/sam_corana.py

    r465 r713  
    11#!/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 
    37""" 
    48Testing the Corana parabola in 1D. Requires sam. 
  • mystic/examples_other/sam_corana2.py

    r470 r713  
    11#!/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 
    37""" 
    48See test_corana.py. 
  • mystic/examples_other/sam_mogi.py

    r470 r713  
    11#!/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 
    37""" 
    48See test_mogi.py 
  • mystic/examples_other/sam_rosenbrock.py

    r470 r713  
    11#!/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 
    37""" 
    48See test_rosenbrock.py. 
  • mystic/examples_other/sam_zimmermann.py

    r470 r713  
    11#!/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 
    37""" 
    48See test_zimmermann.py. 
  • mystic/examples_other/test_argv.py

    r88 r713  
    11#!/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 
    27 
    38import sys 
  • mystic/examples_other/test_br8.py

    r708 r713  
    11#!/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 
    37""" 
    48Data from Chapter 8 of Bevington and Robinson 
  • mystic/examples_other/test_gplot.py

    r465 r713  
    11#!/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 
    27 
    38from mystic.tools import getch 
  • mystic/examples_other/test_scem.py

    r88 r713  
    11#!/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 
    37""" 
    48Tests functionality of misc. functions in scem.py 
  • mystic/examples_other/test_smo1.py

    r88 r713  
    11#!/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 
    57""" 
    68Support Vector Classification. 
  • mystic/examples_other/test_svc1.py

    r88 r713  
    11#!/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 
    57""" 
    68Support Vector Classification. Example 1 
  • mystic/examples_other/test_svc2.py

    r88 r713  
    11#!/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 
    57""" 
    68Support Vector Classification. Example 2. 
  • mystic/examples_other/test_svr1.py

    r88 r713  
    11#!/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 
    57""" 
    68Support Vector Regression. Example 1 
  • mystic/examples_other/test_svr2.py

    r88 r713  
    11#!/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 
    57""" 
    68Support Vector Regression. Example 1 
  • mystic/models/__init__.py

    r531 r713  
    11#!/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 
    28""" 
    39models: 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 
    18 
    29chebyshev2coeffs = [2., 0., -1.] 
  • mystic/models/abstract_model.py

    r143 r713  
    11#!/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 
    38""" 
    49Base classes for mystic's provided models:: 
  • mystic/models/br8.py

    r143 r713  
    11#!/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 
    38""" 
    49Bevington & Robinson's model of dual exponential decay 
  • mystic/models/circle.py

    r143 r713  
    11#!/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 
    38""" 
    492d array representation of a circle 
  • mystic/models/corana.py

    r143 r713  
    11#!/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 
    38""" 
    49Corana's function 
  • mystic/models/dejong.py

    r415 r713  
    11#!/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 
    38""" 
    49Rosenbrock's function, De Jong's step function, De Jong's quartic function, 
  • mystic/models/fosc3d.py

    r143 r713  
    11#!/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 
    38""" 
    49the fOsc3D Mathematica function 
  • mystic/models/griewangk.py

    r143 r713  
    11#!/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 
    38""" 
    49Griewangk's function 
  • mystic/models/lorentzian.py

    r674 r713  
    11#!/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 
    38""" 
    49Lorentzian peak model 
  • mystic/models/mogi.py

    r143 r713  
    11#!/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 
    38""" 
    49Mogi's model of surface displacements from a point spherical source in an 
  • mystic/models/poly.py

    r674 r713  
    11#!/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 
    38""" 
    491d model representation for polynomials 
  • mystic/models/wavy.py

    r143 r713  
    11#!/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 
    38""" 
    49simple sine-based multi-minima functions 
  • mystic/models/zimmermann.py

    r143 r713  
    11#!/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 
    38""" 
    49Zimmermann's function 
  • mystic/mystic/__init__.py

    r711 r713  
    11#!/usr/bin/env python 
    2  
     2# 
    33# Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 
    44# Author: Alta Fang (altafang @caltech and alta @princeton) 
    55# 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 
    89 
    910# get version numbers, license, and long description 
  • mystic/mystic/_genSow.py

    r466 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    57"""a helper class for the CustomMonitor function""" 
    68 
  • mystic/mystic/_scipy060optimize.py

    r422 r713  
    66# guarantee implied provided you keep this notice in all copies. 
    77# *****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 
    814"""local copy of scipy.optimize""" 
    915 
  • mystic/mystic/_scipyoptimize.py

    r422 r713  
    11#!/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 
    214"""modified algorithms from local copy of scipy.optimize""" 
    315 
  • 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 
    19# The following code attempts to construct something like: 
    210# >>> from sympy import Eq, Symbol 
  • mystic/mystic/abstract_launcher.py

    r702 r713  
    11#!/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 
    27""" 
    38This module contains the base classes for pathos pool and pipe objects, 
  • mystic/mystic/abstract_map_solver.py

    r702 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    69""" 
    710This module contains the base class for mystic solvers that utilize 
  • mystic/mystic/abstract_nested_solver.py

    r684 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    69""" 
    710This module contains the base class for launching several mystic solvers 
  • mystic/mystic/abstract_solver.py

    r705 r713  
    11#!/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 
    27# 
    38## Abstract Solver Class 
    49# derived from Patrick Hung's original DifferentialEvolutionSolver 
    5 # by mmckerns@caltech.edu 
    6  
    710""" 
    811This module contains the base class for mystic solvers, and describes 
  • mystic/mystic/constraints.py

    r652 r713  
    11#!/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 
    38"""Tools for building and applying constraints and penalties. 
    49""" 
  • mystic/mystic/coupler.py

    r645 r713  
    11#!/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 
    37""" 
    48Function Couplers 
  • mystic/mystic/differential_evolution.py

    r698 r713  
    1919## additional DE Solver (DESolver2) added by Patrick Hung. 
    2020## 
    21 ## bounds (and minimal interface) added by mmckerns@caltech.edu 
    22 ## adapted to AbstractSolver interface by mmckerns@caltech.edu 
     21## bounds (and minimal interface) added by Mike McKerns 
     22## adapted to AbstractSolver interface by Mike McKerns 
    2323## 
    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 
    2531 
    2632""" 
  • mystic/mystic/filters.py

    r335 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    57""" 
    68Input/output 'filters' 
  • mystic/mystic/forward_model.py

    r335 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69This module contains classes that aid in constructing cost functions. 
  • mystic/mystic/helputil.py

    r335 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    57""" 
    68Tools for prettifying help 
  • mystic/mystic/linesearch.py

    r422 r713  
    11#!/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 
    214""" local copy of scipy.optimize.linesearch """ 
    315 
  • mystic/mystic/metropolis.py

    r124 r713  
    11#!/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 
    37""" 
    48Implements a simple version of the Metropolis-Hastings algorithm 
  • mystic/mystic/monitors.py

    r704 r713  
    11#!/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 
    28# 
    39# 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 
    18from mystic.tools import list_or_tuple_or_ndarray as sequence 
    29from mystic.tools import isNull 
  • mystic/mystic/nested.py

    r698 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    47""" 
    58Solvers 
  • mystic/mystic/penalty.py

    r645 r713  
    11#!/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 
    38""" 
    49Penalty 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 
    27""" 
    38This module contains map and pipe interfaces to standard (i.e. serial) python. 
  • mystic/mystic/python_map.py

    r702 r713  
    11#!/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 
    37""" 
    48Defaults for mapper and launcher. These should be 
  • mystic/mystic/scemtools.py

    r125 r713  
    11#!/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 
    37""" 
    48Implements the "Shuffled Complex Evolution Metropolis" Algoritm 
  • mystic/mystic/scipy_optimize.py

    r698 r713  
    1010# adapted scipy.optimize.fmin_powell 
    1111# 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 
    1319 
    1420""" 
  • mystic/mystic/solvers.py

    r649 r713  
    11#!/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 
    27""" 
    38solvers: minimal and expanded interfaces for optimization algorithms 
  • mystic/mystic/strategy.py

    r637 r713  
    11#!/usr/bin/env python 
    22# 
     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# 
    39# Differential Evolution Strategies adapted from DESolver.py by Patrick Hung 
    4  
    510""" 
    611Differential Evolution Strategies 
  • mystic/mystic/svctools.py

    r124 r713  
    11#!/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 
    57""" 
    68Simple utility functions for SV-classifications 
  • mystic/mystic/svmtools.py

    r88 r713  
    11#!/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 
    57""" 
    68Simple utility functions for SV-Regressions 
  • mystic/mystic/symbolic.py

    r686 r713  
    11#!/usr/bin/env python 
    22# 
     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# 
    39# originally coded by Alta Fang, 2010 
    4 # refactored by mmckerns@caltech.edu, 2012 
     10# refactored by Mike McKerns, 2012 
    511"""Tools for working with symbolic constraints. 
    612""" 
  • mystic/mystic/termination.py

    r653 r713  
    11#!/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 
    39""" 
    410Factories that provide termination conditions for a mystic.solver 
  • mystic/mystic/tools.py

    r712 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    48# 
    59# 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# 
    18# dummy __init__ file for mystic scripts 
  • mystic/scripts/mystic_log_reader.py

    r476 r713  
    11#!/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 
    28__doc__ = """ 
    39mystic_log_reader.py [options] filename 
  • mystic/scripts/support_convergence.py

    r502 r713  
    11#!/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 
    28__doc__ = """ 
    39support_convergence.py [options] filename 
  • mystic/scripts/support_hypercube.py

    r570 r713  
    11#!/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 
    28__doc__ = """ 
    39support_hypercube.py [options] filename 
  • mystic/scripts/support_hypercube_measures.py

    r570 r713  
    11#!/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 
    28__doc__ = """ 
    39support_hypercube_measures.py [options] filename 
  • mystic/scripts/support_hypercube_scenario.py

    r687 r713  
    11#!/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 
    28__doc__ = """ 
    39support_hypercube_scenario.py [options] filename (datafile) 
  • mystic/setup.py

    r711 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    57 
    68from __future__ import with_statement 
  • mystic/tests/chebyshevinputs.py

    r335 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69chebyshevinputs.py -- cost function container module for NelderMeadSimplexSolver  
  • mystic/tests/chebyshevinputs_de.py

    r335 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69chebychevinputs_de.py -- cost function container module for differential evolution  
  • mystic/tests/roseninputs.py

    r335 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69roseninputs.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 
    28"""Test Mystic's performance on some benchmark problems, with Mystic's settings 
    39adjusted 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 
    19try: 
    210  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 
    28"""A sanity test suite for Mystic solvers.""" 
    39# 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 
    28"""A test suite for Mystic solvers. 
    39Note: 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 
    18from mystic.math.measures import * 
    29from mystic.math.discrete import * 
  • mystic/tests/test_SOW.py

    r568 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    47 
    58from 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 
    18from mystic.monitors import * 
     9 
    210a = Null() 
    311b = 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 
    27 
    38""" 
  • 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 
    18from mystic.constraints import * 
    29from 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 
    18from mystic.coupler import * 
    29from 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 . 
    210""" 
    311TESTS for Dirac measure data objects. 
    412Includes point_mass, measure, and product_measure classes. 
    513""" 
    6 # Adapted from seesaw2d.py in branches/UQ/math/examples2/  
    7 # For usage example, see seesaw2d_inf_example.py . 
    814 
    915from 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 
    27""" 
    38test 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 
    18from mystic.math.measures import * 
    29from 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 
    18from mystic.models import rosen 
    29from 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 
    18from mystic.constraints import * 
    29from 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 
    18from mystic.solvers import DifferentialEvolutionSolver 
    29from 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 
    19from mystic.symbolic import * 
    210from mystic.math import almostEqual 
  • mystic/tests/test_symbolic_basic.py

    r686 r713  
    11#!/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: 
    27# 
    38# coded by Alta Fang, 2010 
  • mystic/tests/test_termination.py

    r538 r713  
    11#!/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 
    28"""test termination conditions. (defaults listed below) 
    39 
  • mystic/tests/testsolvers_pyre.py

    r625 r713  
    11#!/usr/bin/env python 
    22# 
    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 
    58""" 
    69Runs mystic solvers as a pyre application 
Note: See TracChangeset for help on using the changeset viewer.