simpeg.regularization.PGI.membership#
- PGI.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
PGI
documentation.- Parameters:
- m(
n_param
)numpy.ndarray
of
float
The model.
- m(
- Returns:
- (
n_active
, )numpy.ndarray
of
int
The membership array.
- (