simpeg.maps.ComboMap.shape#

property ComboMap.shape#

Dimensions of the mapping.

For a list of SimPEG mappings [\(\mathbf{f}_n,...,\mathbf{f}_1\)] that have been joined to create a ComboMap, this method returns the dimensions of the combination mapping. Recall that the ordering of the list of mappings is from last to first. This is computed once when the mapping’s maps are set and reused afterward.

Returns:
  1. tuple of int Dimensions of the mapping operator. If a dimension cannot be resolved from the chain of mappings (e.g. every mapping in the chain has shape (*, *)), * is returned for that dimension instead.