SimPEG.regularization.RegularizationMesh.active_cells#

property RegularizationMesh.active_cells: ndarray#

Active cells on the regularization mesh.

A boolean array defining the cells in the regularization mesh that are active (i.e. updated) throughout the inversion. The values of inactive cells remain equal to their starting model values.

Returns:
(n_cells, ) array of bool

Notes

If the property is set using a numpy.ndarray of int, the setter interprets the array as representing the indices of the active cells. When called however, the quantity will have been internally converted to a boolean array.