Changeset 67
- Timestamp:
- 08/03/08 08:56:45 (8 years ago)
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ooe-tests/mogi/forward_mogi.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 35 35 36 36 37 # version38 __id__ = "$Id: forward_mogi.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"39 40 37 # End of file -
branches/pyina/Make.mm
r62 r67 1 1 # -*- Makefile -*- 2 #3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 #5 # Michael A.G. Aivazis6 # California Institute of Technology7 # (C) 1998-2005 All Rights Reserved8 #9 # <LicenseText>10 #11 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~12 2 # 13 3 -
branches/pyina/applications/Make.mm
r62 r67 1 1 # -*- Makefile -*- 2 2 # 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 #5 # Michael A.G. Aivazis6 # California Institute of Technology7 # (C) 1998-2005 All Rights Reserved8 #9 # <LicenseText>10 #11 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~12 3 13 4 PROJECT = pyre -
branches/pyina/pyinamodule/Make.mm
r62 r67 1 # Patrick Hung2 # Calif. Inst. of Tech.3 4 1 PROJECT = pyina 5 2 PACKAGE = _pyina … … 14 11 dummy.cc 15 12 16 # version17 # $Id: Make.mm,v 1.2 2006/08/01 22:48:32 patrickh Exp $18 19 13 # End of file 20 14 -
branches/pyina/pyinamodule/_pyina.cc
r62 r67 1 // Patrick Hung 1 // Patrick Hung & Mike McKerns 2 2 // California Inst. of Tech. 3 3 -
branches/pyina/pyinamodule/local.def
r62 r67 17 17 endif 18 18 19 # version20 # $Id: local.def,v 1.4 2008/05/20 22:59:46 patrickh Exp $21 22 19 # End of file 23 20 -
branches/pyina/python/Make.mm
r66 r67 1 1 # -*- Makefile -*- 2 #3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 #5 # Michael A.G. Aivazis6 # California Institute of Technology7 # (C) 1998-2003 All Rights Reserved8 #9 # <LicenseText>10 #11 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~12 2 13 3 PROJECT = pyina … … 65 55 #export:: export-package-python-modules 66 56 67 # version68 # $Id: Make.mm,v 1.6 2008/05/20 22:59:46 patrickh Exp $69 70 57 # End of file -
branches/pyina/python/__init__.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1997-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 11 11 12 12 """ 13 The Caltech GeophysicsInversion Framework.13 A Simple Model-Independent Inversion Framework. 14 14 """ 15 15 16 16 from mpiconsts import mpi 17 17 18 #import differential_evolution, detools, yang19 18 import differential_evolution, detools 20 19 -
branches/pyina/python/const.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 34 34 35 35 36 # version37 __id__ = "$Id: const.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"38 39 36 # End of file -
branches/pyina/python/derun.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 115 115 116 116 117 118 # version119 __id__ = "$Id: derun.py,v 1.3 2006/08/08 07:43:21 patrickh Exp $"120 121 117 # End of file -
branches/pyina/python/example.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 51 51 52 52 53 # version54 __id__ = "$Id: example.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"55 56 53 # End of file -
branches/pyina/python/filters.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 21 21 22 22 23 # version24 __id__ = "$Id: filters.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"25 26 23 # End of file -
branches/pyina/python/forward_model.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 155 155 156 156 157 # version158 __id__ = "$Id: forward_model.py,v 1.3 2007/03/09 21:39:33 patrickh Exp $"159 160 157 # End of file -
branches/pyina/python/forward_mogi.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 35 35 36 36 37 # version38 __id__ = "$Id: forward_mogi.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"39 40 37 # End of file -
branches/pyina/python/helputil.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 56 56 57 57 58 # version59 __id__ = "$Id: helputil.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"60 61 58 # End of file -
branches/pyina/python/launchers.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 91 91 92 92 93 # version94 __id__ = "$Id: launchers.py,v 1.3 2007/07/27 09:04:26 patrickh Exp $"95 96 93 # End of file -
branches/pyina/python/mpiconsts.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 29 29 sys.modules[__name__].__dict__.__delitem__('v') 30 30 31 # version32 __id__ = "$Id: mpiconsts.py,v 1.2 2008/05/20 22:59:46 patrickh Exp $"33 34 31 # End of file -
branches/pyina/python/nelder_mead.py
r62 r67 230 230 main() 231 231 232 # 233 # $Id: nelder_mead.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $ 234 # 232 235 233 # End of file -
branches/pyina/python/parallel_map.py
r62 r67 122 122 123 123 124 # version125 __id__ = "$Id: parallel_map.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"126 127 124 # End of file -
branches/pyina/python/parallel_map2.py
r62 r67 136 136 137 137 138 # version139 __id__ = "$Id: parallel_map2.py,v 1.3 2007/03/09 21:39:33 patrickh Exp $"140 141 138 # End of file -
branches/pyina/python/polytools.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 49 49 50 50 51 # version52 __id__ = "$Id: polytools.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"53 54 51 # End of file -
branches/pyina/python/tools.py
r62 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 199 8-2006All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 167 167 doctest.testmod(verbose=True) 168 168 169 # version170 __id__ = "$Id: tools.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"171 172 169 # End of file -
branches/pyina/tests/Make.mm
r62 r67 1 1 # -*- Makefile -*- 2 #3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 # Patrick Hung5 # Caltech,6 # (C) 1997-2006 All Rights Reserved7 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~8 #9 2 10 3 PROJECT = pyina … … 55 48 56 49 57 # version58 # $Id: Make.mm,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $59 60 50 # End of file 61 51 -
branches/pyina/tests/hello.py
r62 r67 47 47 48 48 49 # version50 __id__ = "$Id: hello.py,v 1.3 2008/05/20 22:59:46 patrickh Exp $"51 52 49 # End of file -
branches/pyina/tests/test_parallelmap.py
r62 r67 61 61 62 62 63 # version64 __id__ = "$Id: test_parallelmap.py,v 1.2 2006/10/11 18:03:28 patrickh Exp $"65 66 63 # End of file -
python/Make.mm
r48 r67 1 1 # -*- Makefile -*- 2 #3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 #5 # Michael A.G. Aivazis6 # California Institute of Technology7 # (C) 1998-2003 All Rights Reserved8 #9 # <LicenseText>10 #11 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~12 2 13 3 PROJECT = mystic … … 59 49 export:: export-python-modules 60 50 61 # version62 # $Id: Make.mm,v 1.3 2006/10/11 18:20:47 patrickh Exp $63 64 51 # End of file -
python/README
r2 r67 1 A subset of the code from my "pyina" project for geophysics. 2 This is my implementation of the Storn and Price differential evolution solver in python 1 This package contains the beginnings of a simple model-independent 2 inversion framework. The core optimizer is an implementation of the 3 Storn and Price differential evolution solver in python. 4 5 The parallel framework implementation is being developed in branches/pyina. 3 6 4 7 # end of file -
python/__init__.py
r2 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1997-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1997-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
python/const.py
r2 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 34 34 35 35 36 # version37 __id__ = "$Id: const.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"38 39 36 # End of file -
python/derun.py
r65 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 124 124 125 125 126 # version127 __id__ = "$Id: derun.py,v 1.3 2006/08/08 07:43:21 patrickh Exp $"128 129 126 # End of file -
python/example.py
r2 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 51 51 52 52 53 # version54 __id__ = "$Id: example.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"55 56 53 # End of file -
python/example_getCost.py
r65 r67 88 88 getch() 89 89 90 # version91 __id__ = "$Id: example.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"92 93 90 # End of file -
python/filters.py
r2 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 21 21 22 22 23 # version24 __id__ = "$Id: filters.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"25 26 23 # End of file -
python/forward_model.py
r40 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 153 153 154 154 155 # version156 __id__ = "$Id: forward_model.py,v 1.2 2006/10/11 18:20:47 patrickh Exp $"157 158 155 # End of file -
python/forward_mogi.py
r65 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 35 35 36 36 37 # version38 __id__ = "$Id: forward_mogi.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"39 40 37 # End of file -
python/helputil.py
r2 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 56 56 57 57 58 # version59 __id__ = "$Id: helputil.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"60 61 58 # End of file -
python/metropolis.py
r44 r67 47 47 48 48 49 # $Id$50 51 49 # end of file -
python/nelder_mead.py
r2 r67 230 230 main() 231 231 232 # 233 # $Id: nelder_mead.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $ 234 # 232 235 233 # End of file -
python/polytools.py
r2 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 49 49 50 50 51 # version52 __id__ = "$Id: polytools.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"53 54 51 # End of file -
python/svctools.py
r36 r67 42 42 return -0.5 * (sum(alpha*y*k1) + sum(alpha*y*k2)) 43 43 44 # $Id$45 #46 44 # end of file -
python/svmtools.py
r28 r67 53 53 return f 54 54 55 # $Id$56 #57 55 # end of file -
python/tools.py
r41 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 190 190 doctest.testmod(verbose=True) 191 191 192 # version193 __id__ = "$Id: tools.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"194 195 192 # End of file -
tests/README
r62 r67 1 1 Note. 2 2 3 # These tests are inherited from the package "pyina"3 # These tests are duplicated in the "pyina" branch... 4 4 # pyina has the parallel version of the DE solver, as well as pyre mpi patches 5 # for doing parallel maps. These are removed to make this package standalone5 # for doing parallel maps. 6 6 7 7 -
tests/forward_mogi.py
r5 r67 3 3 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 4 # 5 # Patrick Hung, Caltech6 # (C) 1998-200 6All Rights Reserved5 # Patrick Hung & Mike McKerns, Caltech 6 # (C) 1998-2008 All Rights Reserved 7 7 # 8 8 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 35 35 36 36 37 # version38 __id__ = "$Id: forward_mogi.py,v 1.1.1.1 2006/08/01 20:47:15 patrickh Exp $"39 40 37 # End of file
Note: See TracChangeset
for help on using the changeset viewer.