simpeg.regularization.Sparse.active_cells#
- property Sparse.active_cells#
Active cells defined on the regularization mesh.
A boolean array defining the cells in the
RegularizationMesh
that are active (i.e. updated) throughout the inversion. The values of inactive cells remain equal to their starting model values.Notes
If the property is set using a
numpy.ndarray
ofint
, 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.