simpeg.maps.ParametricLayer.mDict#

ParametricLayer.mDict(m)[source]#

Return model parameters as a dictionary.

For a model \(\mathbf{m} = [\sigma_0, \;\sigma_1,\; z_L , \; h]\), mDict returns a dictionary:

{"val_background": m[0], "val_layer": m[1], "layer_center": m[2], "layer_thickness": m[3]}
Returns:
dict

The model as a dictionary