simpeg.maps.SumMap#
- class simpeg.maps.SumMap(maps, **kwargs)[source]#
Bases:
ComboMap
Combination map constructed by summing multiple mappings to the same vector space.
A map to add model parameters contributing to the forward operation e.g. F(m) = F(g(x) + h(y))
Assumes that the model vectors defined by g(x) and h(y) are equal in length. Allows to assume different things about the model m: i.e. parametric + voxel models
- Parameters:
- maps
list
A list of SimPEG mapping objects that are being summed. Each mapping object in the list must act on the same number of model parameters and must map to the same vector space!
- maps
Attributes
Determine whether or not this mapping is a linear operation.
The mesh used for the mapping
Number of parameters the combined mapping acts on.
Dimensions of the mapping.
Methods
deriv
(m[, v])Derivative of mapping with respect to the input parameters
dot
(map1)Multiply two mappings to create a
simpeg.maps.ComboMap
.inverse
(D)The transform inverse is not implemented.
test
([m, num, random_seed])Derivative test for the mapping.