- Timestamp:
- 04/03/14 13:43:02 (2 years ago)
- Location:
- branches
- Files:
-
- 75 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UQ/design/thk_safe/INV_config.py
r319 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 "Settings for the INV code" 3 9 -
branches/UQ/design/thk_safe/INV_seesaw2d_inf_thk_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/thk_safe/INV_seesaw2d_sup_thk_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/thk_safe/INV_surrogate_expect.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/thk_safe/seesaw2d_thk.py
r468 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 ...seesaw in 2D, with marc_surr as failure condition -
branches/UQ/design/thk_safe/surrogate.py
r255 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
branches/UQ/design/thk_unsafe/INV_config.py
r319 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 "Settings for the INV code" 3 9 -
branches/UQ/design/thk_unsafe/INV_seesaw2d_inf_thk_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/thk_unsafe/INV_seesaw2d_sup_thk_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/thk_unsafe/INV_surrogate_expect.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/thk_unsafe/seesaw2d_thk.py
r468 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 ...seesaw in 2D, with marc_surr as failure condition -
branches/UQ/design/thk_unsafe/surrogate.py
r255 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
branches/UQ/design/vel_safe/INV_config.py
r319 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 "Settings for the INV code" 3 9 -
branches/UQ/design/vel_safe/INV_seesaw2d_inf_vel_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/vel_safe/INV_seesaw2d_sup_vel_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/vel_safe/INV_surrogate_expect.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/vel_safe/seesaw2d_vel.py
r468 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 ...seesaw in 2D, with marc_surr as failure condition -
branches/UQ/design/vel_safe/surrogate.py
r255 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
branches/UQ/design/vel_unsafe/INV_config.py
r319 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 "Settings for the INV code" 3 9 -
branches/UQ/design/vel_unsafe/INV_seesaw2d_inf_vel_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/vel_unsafe/INV_seesaw2d_sup_vel_diam.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/vel_unsafe/INV_surrogate_expect.py
r575 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/design/vel_unsafe/seesaw2d_vel.py
r468 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2010-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 ...seesaw in 2D, with marc_surr as failure condition -
branches/UQ/design/vel_unsafe/surrogate.py
r255 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
branches/UQ/funcIO.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 def parse_from_history(object): -
branches/UQ/legacy/MINMAX_StAlData.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = False -
branches/UQ/legacy/MM_OUQ_StAlData.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with legacy data: short_wrt_data, short_wrt_self, mean(y), norm(wts) -
branches/UQ/legacy/StAlSurrogate.py
r481 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 def inches_to_mm(x): -
branches/UQ/legacy/StStSurrogate.py
r556 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
branches/UQ/legacy/TEST_OUQ_1dData.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with legacy data: short_wrt_data, short_wrt_self, mean(y), norm(wts) -
branches/UQ/legacy/TEST_OUQ_1dSurr_CxCy.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with model sausage: valid_wrt_model, mean(y), norm(wts) -
branches/UQ/legacy/TEST_OUQ_1dSurr_Cy.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with model sausage: valid_wrt_model, mean(y), norm(wts) -
branches/UQ/legacy/TEST_OUQ_StAlData.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with legacy data: short_wrt_data, short_wrt_self, mean(y), norm(wts) -
branches/UQ/legacy/TEST_OUQ_StStSurr_Cy.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with model sausage: valid_wrt_model, mean(y), norm(wts) -
branches/UQ/legacy/envelope/Driver_BoLiSurr_Cy.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with model sausage: valid_wrt_model, mean(y), norm(wts) -
branches/UQ/legacy/envelope/Looper_BoLiSurr_Cy.py
r702 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with model sausage: valid_wrt_model, mean(y), norm(wts) -
branches/UQ/legacy/envelope/conf_hausd.py
r688 r714 1 #!/usr/bin/env python 2 # 3 # Author: Lan Huong Nguyen (lanhuong @stanford) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 debug = True 2 9 3 10 import csv 11 4 12 # READING EXPERIMENTAL DATA 5 13 f = csv.reader(open('NewData.csv'), delimiter=',') -
branches/UQ/legacy/envelope/conf_sup.py
r592 r714 1 #!/usr/bin/env python 2 # 3 # Author: Lan Huong Nguyen (lanhuong @stanford) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 import csv 2 9 -
branches/UQ/legacy/envelope/envelope.py
r688 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 ... find the envelopes for graphical distance around a model -
branches/UQ/legacy/envelope/hausdorff.py
r688 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from numpy import array 2 9 debug = False -
branches/UQ/legacy/envelope/memoize.py
r621 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-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 1 7 """ 2 8 a decorator named 'memoized' that can memoize a *method* on an object. -
branches/UQ/legacy/envelope/otm_hvi.py
r621 r714 3 3 # Author: Bo Li 4 4 # Galcit, California Institute of Technology 5 # Copyright (C) reserved5 # Copyright (C) 2012 reserved 6 6 # libo@caltech.edu 7 7 # -
branches/UQ/legacy/envelope/otm_hvi_db.py
r621 r714 1 #! /usr/bin/env python 1 2 # 2 3 # perforation area database … … 4 5 # {(Velocity, Obliquity) : Area} 5 6 # 7 # Author: Bo Li 8 # Galcit, California Institute of Technology 9 # Copyright (C) 2012 reserved 6 10 7 11 # perforation area for plates with thickness equal to 0.508mm -
branches/UQ/legacy/envelope/otm_hvi_db_old.py
r621 r714 1 #! /usr/bin/env python 1 2 # 2 3 # Database of OTM simulations of hypervelocity impact tests … … 5 6 # otm_hvi_perforation: performance measurement, the perforation area 6 7 # 8 # Author: Bo Li 9 # Galcit, California Institute of Technology 10 # Copyright (C) 2012 reserved 7 11 8 12 otm_hvi_tests = [(0.5, 4.5, 0.0), \ -
branches/UQ/legacy/envelope/otm_hvi_old.py
r621 r714 3 3 # Author: Bo Li 4 4 # Galcit, California Institute of Technology 5 # Copyright (C) reserved5 # Copyright (C) 2012 reserved 6 6 # libo@caltech.edu 7 7 # -
branches/UQ/legacy/envelope/plot_bo0.py
r621 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from otm_hvi import eureka as eureka_new 2 9 from otm_hvi_old import eureka as eureka_old -
branches/UQ/legacy/envelope/plot_bo1.py
r621 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from otm_hvi import eureka as eureka_new 2 9 -
branches/UQ/legacy/envelope/plot_bo2.py
r621 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from otm_hvi import eureka as eureka_new 2 9 from otm_hvi_old import eureka as eureka_old -
branches/UQ/legacy/envelope/runinfo.py
r621 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 ############################## 2 9 # [ h v a ] & [ Y ] -
branches/UQ/legacy/envelope/sausage.py
r688 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 ... find the envelopes for graphical distance around a model -
branches/UQ/legacy/test_ExampleDataset.py
r688 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 legacy data for 1-D example problems in: -
branches/UQ/legacy/test_ModeledDataset.py
r569 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 1-D example test problem for model-sausage: -
branches/UQ/legacy/test_StAlDataset.py
r688 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 legacy data for PSAAP ballistic impact example problem in: -
branches/UQ/legacy/test_graph_dist.py
r688 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 example test problem for graphical_distance in model-sausage calculation: -
branches/UQ/pickle.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 def tmp_pickle(func, suffix='.pik'): -
branches/UQ/sausage/OUQPolytopeTools.py
r553 r714 1 #!/usr/bin/env python 2 # 3 # Author: Tim Sullivan (sullivan.t.j @gmail) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from numpy import * 2 9 -
branches/UQ/sausage/StStSurrogate.py
r553 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
branches/UQ/sausage/TEST_OUQ_1dSurr_diam.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Tim Sullivan (sullivan.t.j @gmail) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with model sausage: valid_wrt_model, mean(y), norm(wts) -
branches/UQ/sausage/TEST_OUQ_StStSurr.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Tim Sullivan (sullivan.t.j @gmail) 4 # Copyright (c) 2011-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 """ 3 8 OUQ with model sausage: valid_wrt_model, mean(y), norm(wts) -
branches/collapse/SEMILOG_PLOTS.py
r560 r714 1 #!/usr/bin/env python 2 # 3 # Author: Lan Huong Nguyen (lanhuong @stanford) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 def my_read_paramlog_file(file): 2 9 from mystic.munge import read_support_file -
branches/collapse/TEST_OUQ_surrogate_diam_collapse.py
r688 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Lan Huong Nguyen (lanhuong @stanford) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 debug = True #False -
branches/collapse/collapse_code.py
r687 r714 1 ################################################################################ 2 1 #!/usr/bin/env python 2 # 3 # Author: Lan Huong Nguyen (lanhuong @stanford) 4 # Copyright (c) 2012-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 ################################################################################ 9 3 10 ### COLLAPSE CODE ### 4 11 5 12 ################################################################################ 6 13 MINMAX = -1 ## NOTE: sup = maximize = -1; inf = minimize = 1 … … 11 18 from collapse_termination import CLPS_Position as PCLPS 12 19 ###################### FUNCTION: TERMINATION CONDITIONS ######################## 13 20 14 21 def termCond(npts, tol, tolW, tolP, ngen, ngcol, indexW_ids, indexP_ids): 15 22 … … 61 68 62 69 ################################################################################ 63 70 64 71 ### SOLVER ### 65 72 66 73 ############################## RUN THE SOLVER ################################## 67 74 def collapseSolver(solver, cost, npts, lb, ub, tol, tolW, tolP_range_fr, ngen, ngcol, \ -
branches/collapse/collapse_termination.py
r560 r714 1 #!/usr/bin/env python 2 # 3 # Author: Lan Huong Nguyen (lanhuong @stanford) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 debug = False #True 2 9 -
branches/collapse/surrogate.py
r537 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2009-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 """Original matlab code: 3 9 -
branches/decorate/memoize.py
r710 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-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 1 7 """ 2 8 decorators that cache results to memory, to file, or to a database -
branches/decorate/restarts.py
r638 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-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 1 7 2 8 def sumt(cost, solver, term, eps = 1e-4, max_SUMT_iters = 10, **kwds): -
branches/decorate/surrogate.py
r710 r714 1 #! /usr/bin/env python 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 from math import pi, cos, tanh 3 9 -
branches/decorate/test_cached.py
r709 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 #from mystic.cache import inf_cache as memoized 2 9 #from klepto.safe import inf_cache as memoized -
branches/decorate/test_restarts.py
r645 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 2 8 from restarts import sumt 3 9 from mystic.penalty import * -
branches/decorate/test_timed_monitor.py
r667 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 ####################################################################### -
branches/decorate/test_timer.py
r601 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 # create a big array of data 2 9 big_array = xrange(int(1e6)) -
branches/decorate/test_wrapper.py
r646 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 1 8 from wrapper import * 2 9 from mystic.math import almostEqual -
branches/decorate/timer.py
r601 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-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 1 7 2 8 def timed(verbose=True): -
branches/decorate/wrapper.py
r646 r714 1 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 2012-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 2 7 3 8 #XXX: be mindful if the decorators restrict to functions that expect arrays -
branches/dummy/__init__.py
r374 r714 1 #!/usr/bin/env python 2 # 3 # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) 4 # Copyright (c) 1997-2014 California Institute of Technology. 5 # License: 3-clause BSD. The full license text is available at: 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 # 1 8 # dummy __init__ file for mystic scripts
Note: See TracChangeset
for help on using the changeset viewer.