File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
LoopStructural/modelling/features/fault Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ def __init__(
307307 gx : Optional [FaultProfileFunction ] = None ,
308308 gy : Optional [FaultProfileFunction ] = None ,
309309 gz : Optional [FaultProfileFunction ] = None ,
310+ scale = 0.5 ,
310311 ):
311312 """Function for characterising the displacement of a fault in 3D space
312313 given the coordinates of the structural frame
@@ -330,7 +331,7 @@ def __init__(
330331 self .gx = Composite (hw , fw )
331332 self .gy = gy
332333 self .gz = gz
333-
334+ self . scale = scale
334335 if self .gx is None :
335336 print ("Gx function none setting to ones" )
336337 self .gx = Ones ()
@@ -350,7 +351,7 @@ def __init__(
350351
351352 def __call__ (self , gx , gy , gz ):
352353
353- return self .gx (gx ) * self .gy (gy ) * self .gz (gz )
354+ return self .scale * self . gx (gx ) * self .gy (gy ) * self .gz (gz )
354355
355356 def to_dict (self ) -> dict :
356357 return {
You can’t perform that action at this time.
0 commit comments