ModelParameterBase

class pysit.solvers.ModelParameterBase(mesh, inputs=None, linear_inputs=None, padded=False)[source]

Bases: object

Container class for the model parameters for the wave and Helmholtz equations in question.

This provides array-like functionality so that we can do simple expressions like addition and scalar multiplication of models. From an outside perspective, models are to be treated as if they are in linear form. Internally, the data is stored in nonlinear form as this is more convenient from a solver perspective. In particular, solvers use nonlinear models more often than inversion routines use linear models. As such, all operations linearize the stored data before operating on it and returning the result to nonlinear form. t_density_acoustic.py for an example.)

Attributes:
domain : pysit.Domain

Coordinate system for the specified model.

Attributes Summary

T
parameter_list

Methods Summary

M(self, i)
add_property(self, attr, idx[, default])
asarray(self)
linearize(self[, asperturbation])
norm(self[, ord])
perturbation(self[, data])
validate(self[, raise_exception])
with_padding(self, \*\*kwargs)
without_padding(self)

Attributes Documentation

T
parameter_list = []

Methods Documentation

M(self, i)[source]
add_property(self, attr, idx, default=None)[source]
asarray(self)[source]
linearize(self, asperturbation=False)[source]
norm(self, ord=None)[source]
perturbation(self, data=None, *args, **kwargs)[source]
validate(self, raise_exception=False)[source]
with_padding(self, **kwargs)[source]
without_padding(self)[source]