diff --git a/pygimli/frameworks/inversion.py b/pygimli/frameworks/inversion.py index c926de24d..507d16395 100644 --- a/pygimli/frameworks/inversion.py +++ b/pygimli/frameworks/inversion.py @@ -508,6 +508,19 @@ def setInterRegionConstraint(self, region1, region2, strength): self.fop.regionManager().setInterRegionConstraint( region1, region2, strength) + def setInterfaceConstraint(self, marker, strength): + """Set regularization strength on specific interface. + + Parameters + ---------- + marker : int + Boundary marker of the interface + strength : float + weighting factor for roughness across boundary + """ + self.fop.regionManager().setInterfaceConstraint( + marker, strength) + def setConstraintWeights(self, cWeight): """Set weighting factors for the invidual rows of the C matrix.""" self.inv.setCWeight(cWeight)