/[escript]/trunk/downunder/py_src/inversioncostfunctions.py
ViewVC logotype

Diff of /trunk/downunder/py_src/inversioncostfunctions.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4178 by caltinay, Thu Jan 31 03:18:56 2013 UTC revision 4238 by jfenwick, Thu Feb 21 09:58:49 2013 UTC
# Line 24  __url__="https://launchpad.net/escript-f Line 24  __url__="https://launchpad.net/escript-f
24    
25  __all__ = [ 'InversionCostFunction']  __all__ = [ 'InversionCostFunction']
26    
27  from costfunctions import MeteredCostFunction  from .costfunctions import MeteredCostFunction
28  from mappings import Mapping  from .mappings import Mapping
29  from forwardmodels import ForwardModel  from .forwardmodels import ForwardModel
30  from esys.escript.pdetools import ArithmeticTuple  from esys.escript.pdetools import ArithmeticTuple
31  from esys.escript import Data  from esys.escript import Data
32  import numpy as np  import numpy as np
33    
34    import sys
35    if sys.version_info.major>2:
36      xrange=range
37    
38    
39  class InversionCostFunction(MeteredCostFunction):  class InversionCostFunction(MeteredCostFunction):
40      """      """
41      Class to define cost function *J(m)* for inversion with one or more      Class to define cost function *J(m)* for inversion with one or more

Legend:
Removed from v.4178  
changed lines
  Added in v.4238

  ViewVC Help
Powered by ViewVC 1.1.26