@@ -96,7 +96,7 @@ def plot(self, axis=None, **kwargs):
9696 axis .set_xlim ((self .intensity .min (), self .intensity .max ()))
9797 axis .legend ()
9898 return axis
99-
99+
100100 def check (self ):
101101 """Check consistent instance data.
102102
@@ -129,14 +129,14 @@ def check(self):
129129
130130 def set_step_impf (self , intensity , mdd = (0 , 1 ), paa = (1 , 1 ), impf_id = 1 ):
131131
132- """ Step function type impact function.
133-
132+ """ Step function type impact function.
133+
134134 By default, everything is destroyed above the step.
135135 Useful for high resolution modelling.
136-
136+
137137 This method modifies self (climada.entity.impact_funcs instance)
138138 by assigning an id, intensity, mdd and paa to the impact function.
139-
139+
140140 Parameters
141141 ----------
142142 intensity: tuple(float, float, float)
@@ -160,11 +160,11 @@ def set_step_impf(self, intensity, mdd=(0, 1), paa=(1, 1), impf_id=1):
160160
161161 def set_sigmoid_impf (self , intensity , L , k , x0 , if_id = 1 ):
162162
163- """ Sigmoid type impact function hinging on three parameter.
164-
165- This type of impact function is very flexible for any sort of study,
163+ """ Sigmoid type impact function hinging on three parameter.
164+
165+ This type of impact function is very flexible for any sort of study,
166166 hazard and resolution. The sigmoid is defined as:
167-
167+
168168 .. math::
169169 f(x) = \f rac{L}{1+exp^{-k(x-x0)}}
170170
0 commit comments