Skip to content

Replace n_params for n_active in mesh-based regularizations#103

Merged
santisoler merged 5 commits into
mainfrom
mesh-regs-improvements
Apr 14, 2026
Merged

Replace n_params for n_active in mesh-based regularizations#103
santisoler merged 5 commits into
mainfrom
mesh-regs-improvements

Conversation

@santisoler
Copy link
Copy Markdown
Member

Replace n_params for n_active in Smallness, Flatness and SparseSmallness. Make the distinction between number of model parameters and number of active cells in the mesh: the number of parameters is the size of the model that will get passed to the regularization. In case of joint inversions, the size of the model will not necessarily match the number of active cells. Add a n_active property to all mesh-based regularizations. Add test for Smallness.

Make the distinction between number of model parameters and number of
active cells in the mesh: the number of parameters is the size of the
model that will get passed to the regularization. In case of joint
inversions, the size of the model will not necessarily match the number
of active cells.
@santisoler santisoler merged commit b89e4f0 into main Apr 14, 2026
3 checks passed
@santisoler santisoler deleted the mesh-regs-improvements branch April 14, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant