simpeg.regularization.JointTotalVariation.active_cells#

property JointTotalVariation.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.

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.