simpeg.regularization.PGIsmallness.membership#

PGIsmallness.membership(m)[source]#

Compute and return membership array for the model provided.

The membership array stores the index of the rock unit most representative of each cell. For a Gaussian mixture model containing the means and covariances for model parameter types (physical property types) for all rock units, this method computes the membership array for the model m provided. For a description of the membership array, see the Notes section within the PGIsmallness documentation.

Parameters:
m(n_param, ) numpy.ndarray of float

The model.

Returns:
(n_active, ) numpy.ndarray of int

The membership array.